Skip to content

Commit

Permalink
Merge branch 'hotfix/3.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed May 22, 2019
2 parents 55e745f + 4bd6300 commit d8f0290
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## [3.3.1](https://github.com/TheHive-Project/TheHive/tree/3.3.1) (2019-05-22)
[Full Changelog](https://github.com/TheHive-Project/TheHive/compare/3.3.0...3.3.1)

**Fixed bugs:**

- THP-SEC-ADV-2017-001: Privilege Escalation in all Versions of TheHive [\#408](https://github.com/TheHive-Project/TheHive/issues/408)

## [3.3.0](https://github.com/TheHive-Project/TheHive/tree/3.3.0) (2019-03-19)

[Full Changelog](https://github.com/TheHive-Project/TheHive/compare/3.3.0-RC6...3.3.0)
Expand Down
2 changes: 1 addition & 1 deletion thehive-backend/app/controllers/UserCtrl.scala
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class UserCtrl @Inject() (
else if (request.body.contains("key")) {
Future.failed(AuthorizationError("You must use dedicated API (renewKey, removeKey) to update key"))
}
else if (request.body.contains("role") && !request.authContext.roles.contains(Roles.admin)) {
else if (request.body.contains("roles") && !request.authContext.roles.contains(Roles.admin)) {
Future.failed(AuthorizationError("You are not permitted to change user role"))
}
else if (request.body.contains("status") && !request.authContext.roles.contains(Roles.admin)) {
Expand Down
2 changes: 1 addition & 1 deletion ui/bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thehive",
"version": "3.3.0",
"version": "3.3.1",
"license": "AGPL-3.0",
"dependencies": {
"angular": "1.5.8",
Expand Down
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thehive",
"version": "3.3.0",
"version": "3.3.1",
"license": "AGPL-3.0",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "3.3.0-1"
version in ThisBuild := "3.3.1-1"

0 comments on commit d8f0290

Please sign in to comment.