Skip to content

Commit 37e469a

Browse files
authored
Bump cxf and force safe xmlsec version (#491)
https://nvd.nist.gov/vuln/detail/CVE-2023-44483
1 parent dbc729c commit 37e469a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

build.gradle.kts

+9-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version = "1.0.0"
77

88
object Versions {
99
const val altinnCorrespondenceAgencyExternalVersion = "1.2020.01.20-15.44-063ae9f84815"
10-
const val cxfVersion = "3.5.5"
10+
const val cxfVersion = "3.5.7"
1111
const val confluent = "7.5.1"
1212
const val flyway = "9.22.3"
1313
const val hikari = "5.0.1"
@@ -184,6 +184,14 @@ dependencies {
184184
implementation("org.apache.cxf:cxf-rt-features-logging:${Versions.cxfVersion}")
185185
implementation("org.apache.cxf:cxf-rt-transports-http:${Versions.cxfVersion}")
186186
implementation("org.apache.cxf:cxf-rt-ws-security:${Versions.cxfVersion}")
187+
constraints {
188+
implementation("org.apache.santuario:xmlsec") {
189+
because("org.apache.cxf:cxf-rt-ws-security:${Versions.cxfVersion} -> https://nvd.nist.gov/vuln/detail/CVE-2023-44483")
190+
version {
191+
require("2.3.4")
192+
}
193+
}
194+
}
187195
implementation("javax.xml.ws:jaxws-api:${Versions.jaxsWsApiVersion}")
188196
implementation("com.sun.xml.ws:jaxws-tools:${Versions.jaxwsToolsVersion}") {
189197
exclude(group = "com.sun.xml.ws", module = "policy")

0 commit comments

Comments
 (0)