Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Commit af22f02

Browse files
committed
fix: Override snakeyaml version to fix vulnerabilities
1 parent 26cde1b commit af22f02

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ allprojects {
8282
implementation 'org.hibernate:hibernate-validator-annotation-processor:6.2.5.Final'
8383
implementation 'org.jsoup:jsoup:1.14.3'
8484
implementation 'com.google.code.findbugs:jsr305:3.0.2'
85+
// Spring Boot declares dependency on snakeyaml 1.30, which contains known
86+
// vulnerabilities. According to https://stackoverflow.com/a/75875594, our
87+
// Spring Boot version is compatible with snakeyaml 2.0, which doesn't have
88+
// any known vulnerabilities, so we override the version here.
89+
implementation 'org.yaml:snakeyaml:2.0'
8590
}
8691
}
8792
}

0 commit comments

Comments
 (0)