Skip to content

Commit 65b89ee

Browse files
shossain786claude
andauthored
fix(deps): bump jackson-databind to 2.21.7 to fix CVE-2026-54512/54513 (#95)
Our own direct pin (2.21.0) falls in the vulnerable range (>=2.19.0, <2.21.4) for both CVEs — a PolymorphicTypeValidator bypass allowing arbitrary class instantiation during deserialization. Fixed upstream in 2.21.4; bumped to the latest 2.21.x patch (2.21.7). Dependabot's PR #89 targeted json-schema-validator 1.4.3 -> 3.0.7 instead, but that dependency is optional and its transitive jackson version is overridden by our direct pin anyway (Maven dependency mediation), so bumping it doesn't touch the actually-vulnerable artifact. It also doesn't build: 3.0.7 replaced the whole JsonSchemaFactory/ValidationMessage API with a jackson 3.x (tools.jackson) rewrite, which would pull in a second, incompatible Jackson major version. Bumping our own jackson-databind pin fixes the CVEs directly without any of that. 547 tests green. Closes #94. Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 68a8e83 commit 65b89ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<dependency>
6565
<groupId>com.fasterxml.jackson.core</groupId>
6666
<artifactId>jackson-databind</artifactId>
67-
<version>2.21.0</version>
67+
<version>2.21.7</version>
6868
</dependency>
6969

7070
<!--

0 commit comments

Comments
 (0)