Upgraded shiro and apache commons-text, to address security issues.

This commit is contained in:
Chris Cochrane 2022-10-17 17:44:32 +01:00
parent 670c7d49c1
commit 64d31d3fb3
No known key found for this signature in database
GPG Key ID: 4D4602B5BBC63950
2 changed files with 9 additions and 3 deletions

View File

@ -122,6 +122,7 @@ buildscript {
ext.detekt_version = constants.getProperty('detektVersion') ext.detekt_version = constants.getProperty('detektVersion')
ext.docker_java_version = constants.getProperty("dockerJavaVersion") ext.docker_java_version = constants.getProperty("dockerJavaVersion")
ext.commons_configuration2_version = constants.getProperty("commonsConfiguration2Version") ext.commons_configuration2_version = constants.getProperty("commonsConfiguration2Version")
ext.commons_text_version = constants.getProperty("commonsTextVersion")
if (JavaVersion.current().isJava8()) { if (JavaVersion.current().isJava8()) {
ext.fontawesomefx_commons_version = constants.getProperty("fontawesomefxCommonsJava8Version") ext.fontawesomefx_commons_version = constants.getProperty("fontawesomefxCommonsJava8Version")
ext.fontawesomefx_fontawesome_version = constants.getProperty("fontawesomefxFontawesomeJava8Version") ext.fontawesomefx_fontawesome_version = constants.getProperty("fontawesomefxFontawesomeJava8Version")
@ -455,8 +456,12 @@ allprojects {
} }
} }
if (details.requested.group == 'org.apache.commons' && details.requested.name == "commons-configuration2") { if (details.requested.group == 'org.apache.commons') {
if (details.requested.name == "commons-configuration2") {
details.useVersion commons_configuration2_version details.useVersion commons_configuration2_version
} else if (details.requested.name == "commons-text") {
details.useVersion commons_text_version
}
} }
} }

View File

@ -39,6 +39,7 @@ jolokiaAgentVersion=1.6.1
detektVersion=1.0.1 detektVersion=1.0.1
tcnativeVersion=2.0.48.Final tcnativeVersion=2.0.48.Final
commonsConfiguration2Version=2.8.0 commonsConfiguration2Version=2.8.0
commonsTextVersion=1.10.0
# ENT-6607 all third party version in here now # ENT-6607 all third party version in here now
@ -83,7 +84,7 @@ eddsaVersion=0.3.0
dependencyCheckerVersion=5.2.0 dependencyCheckerVersion=5.2.0
commonsCollectionsVersion=4.3 commonsCollectionsVersion=4.3
beanutilsVersion=1.9.4 beanutilsVersion=1.9.4
shiroVersion=1.9.1 shiroVersion=1.10.0
hikariVersion=3.3.1 hikariVersion=3.3.1
liquibaseVersion=3.6.3 liquibaseVersion=3.6.3
dockerComposeRuleVersion=1.5.0 dockerComposeRuleVersion=1.5.0