Skip to content

chore: bump jackson to 2.18.10 and logback to 1.3.16 - #22

Open
Vligai wants to merge 1 commit into
mainfrom
chore/bump-jackson-logback
Open

chore: bump jackson to 2.18.10 and logback to 1.3.16#22
Vligai wants to merge 1 commit into
mainfrom
chore/bump-jackson-logback

Conversation

@Vligai

@Vligai Vligai commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Clears the outstanding advisories against the SDK's directly declared dependencies:

jackson-core / jackson-databind / jackson-datatype-jsr310
2.17.1 -> 2.18.10
logback-core / logback-classic
1.3.14 -> 1.3.16

All upgraded artifacts are still Java 8 bytecode and the public API is unchanged: 608 public signatures identical to the published 3.0.8 jar built from this same source. Verified with the existing 33 tests plus a 28 assertion end-to-end run against a live instance on JDK 8 and JDK 11.

Clears the outstanding advisories against the SDK's directly declared
dependencies:

  jackson-core / jackson-databind / jackson-datatype-jsr310
    2.17.1 -> 2.18.10
  logback-core / logback-classic
    1.3.14 -> 1.3.16

A consumer-facing scan goes from 3 HIGH, 7 MEDIUM and 4 LOW findings
down to 3 LOW. The three that remain are logback-core issues whose fixes
exist only in the 1.5.x line, which requires Java 21. 1.3.16 is the last
release of the Java 8 compatible line.

All upgraded artifacts are still Java 8 bytecode and the public API is
unchanged: 608 public signatures identical to the published 3.0.8 jar
built from this same source. Verified with the existing 33 tests plus a
28 assertion end-to-end run against a live instance on JDK 8 and JDK 11.
@infisical-review-police

Copy link
Copy Markdown

💬 Discussion in Slack: #pr-review-java-sdk-22-chore-bump-jackson-to-2-18-10-and-logback-to-1-3-16

Posted by Review Police — reviews, comments, new commits, and CI failures will stream into this channel.

@socket-security

Copy link
Copy Markdown

@socket-security

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: maven ch.qos.logback:logback-core is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: pom.xmlmaven/ch.qos.logback/logback-core@1.3.16

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore maven/ch.qos.logback/logback-core@1.3.16. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: maven ch.qos.logback:logback-core is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: pom.xmlmaven/ch.qos.logback/logback-core@1.3.16

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore maven/ch.qos.logback/logback-core@1.3.16. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@greptile-apps

greptile-apps Bot commented Sep 9, 2026

Copy link
Copy Markdown

Greptile Summary

This PR upgrades the directly declared Jackson dependencies from 2.17.1 to 2.18.10 and Logback dependencies from 1.3.14 to 1.3.16.

  • The Jackson versions remain aligned and compatible with the Java 8 target and current SDK usage.
  • The Logback update remains Java 8 compatible, but it does not clear all outstanding advisories and continues to expose an otherwise unused logging implementation transitively.

Confidence Score: 4/5

The dependency updates appear runtime-compatible, but the Logback selection should be reconsidered because it does not achieve the stated advisory cleanup.

No concrete SDK-reachable exploit or compatibility regression was found, but compile-scoped Logback 1.3.16 remains affected by outstanding advisories and is transitively exposed despite having no production usage.

Files Needing Attention: pom.xml

Important Files Changed

Filename Overview
pom.xml Updates Jackson and Logback versions; Jackson appears compatible, while the selected Logback version remains advisory-affected despite being an unused compile-scoped dependency.

Reviews (1): Last reviewed commit: "chore: bump jackson to 2.18.10 and logba..." | Re-trigger Greptile

Comment thread pom.xml
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.3.14</version>
<version>1.3.16</version>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Logback Advisories Remain

This upgrade does not clear the Logback advisories described by the PR: logback-core and logback-classic 1.3.16 remain affected by the three identified 2026 advisories. Both dependencies are compile-scoped even though production code does not use Logback, so SDK consumers still receive the affected artifacts transitively and dependency scans will continue to report them. Consider removing the unused logging dependencies or choosing a compatible remediation strategy.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@Vligai

Vligai commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

For the socket check:

Pulled logback-core 1.3.16 and inspected the two flagged classes directly. PropertyModel is an ordinary Java bean: four private fields with getters and setters, standard equals and hashCode, and a mirror method for copying state. ShutdownHookModelHandler reads a class name from the parsed logging config, falls back to a default, and registers the result as a JVM shutdown hook.

Neither shows any sign of obfuscation. All string constants are readable English log messages, debug information and source file names are intact, method and field names are fully descriptive, and the jar contains no mangled or single-letter class names anywhere. The artifact matches its Maven Central checksum, is GPG signed, and is published by QOS.ch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant