Skip to content

Commit ff9a1eb

Browse files
authored
Exclude (unused) snakeyaml dependency (#120553)
* Exclude (unused) snakeyaml dependency * Explanatory comment and CVE link
1 parent 393e998 commit ff9a1eb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

x-pack/snapshot-tool/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ dependencies {
7070
api 'javax.xml.bind:jaxb-api:2.2.2'
7171
}
7272

73+
configurations.configureEach {
74+
exclude group: 'org.yaml', module: 'snakeyaml' // Avoid CVE: https://nvd.nist.gov/vuln/detail/cve-2022-1471
75+
}
76+
7377
tasks.named("dependencyLicenses").configure {
7478
mapping from: /aws-java-sdk-.*/, to: 'aws-java-sdk'
7579
mapping from: /jmespath-java.*/, to: 'aws-java-sdk'

0 commit comments

Comments
 (0)