Skip to content

Commit

Permalink
SIDM-7336 fix jackson vulnerability (#771)
Browse files Browse the repository at this point in the history
* SIDM-7336 fix jackson vulnerability

* Fix for bom mismatch

Co-authored-by: Nikola Naydenov <[email protected]>
  • Loading branch information
nikola-naydenov-hmcts and Nikola Naydenov authored Mar 29, 2022
1 parent 1f1604e commit 629941f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ allprojects {
targetCompatibility = 11

def idamBomVersion = '2.8.17'
def jackson_version = '2.13.2'
def jackson_databind_version = '2.13.2.1'

configurations.all {
exclude group: "org.glassfish", module: "jakarta.el"
Expand Down Expand Up @@ -104,7 +106,16 @@ allprojects {

implementation group: 'javax.servlet', name: 'jstl'
implementation group: 'javax.json', name: 'javax.json-api'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind'
compile("com.fasterxml.jackson:jackson-bom") {
version {
strictly jackson_version
}
}
implementation (group: 'com.fasterxml.jackson.core', name: 'jackson-databind') {
version {
require jackson_databind_version
}
}
implementation group: 'org.apache.httpcomponents', name: 'httpclient'
implementation group: 'org.apache.httpcomponents', name: 'httpcore'
implementation group: 'org.apache.commons', name: 'commons-text'
Expand Down

0 comments on commit 629941f

Please sign in to comment.