Skip to content

fix: force jackson-core to a patched version in sensorhub-security-oauth - #86

Open
aroh3006 wants to merge 1 commit into
Botts-Innovative-Research:masterfrom
aroh3006:fix/oauth-jackson-core-ghsa-r7wm
Open

fix: force jackson-core to a patched version in sensorhub-security-oauth#86
aroh3006 wants to merge 1 commit into
Botts-Innovative-Research:masterfrom
aroh3006:fix/oauth-jackson-core-ghsa-r7wm

Conversation

@aroh3006

@aroh3006 aroh3006 commented Sep 3, 2026

Copy link
Copy Markdown

Fixes #81.

com.auth0:jwks-rsa:0.22.1 pulls in jackson-databind:2.15.0, which
resolves jackson-core at 2.15.0 too. That version is affected by
GHSA-r7wm-3cxj-wff9 (an incomplete fix for a prior CVE: the async
parser's maxNumberLength limit can be bypassed via chunked digit
accumulation).

This adds a direct jackson-core:2.18.8 dependency, the same pattern
already used a few lines above in this file for org.json, so Gradle
resolves the patched version instead of the transitive 2.15.0.

Verified with ./gradlew :sensorhub-security-oauth:dependencies --configuration embeddedImpl that jackson-core now resolves to
2.18.8 (was 2.15.0), and that the module still compiles and packages
cleanly (./gradlew :sensorhub-security-oauth:test, which reports
NO-SOURCE since this module has no existing test suite).

com.auth0:jwks-rsa:0.22.1 pulls in jackson-databind 2.15.0, which
resolves jackson-core at 2.15.0 too. That version is affected by
GHSA-r7wm-3cxj-wff9 (async parser maxNumberLength bypass via chunked
digit accumulation). Same fix pattern already used a few lines above
for org.json: add a direct dependency at the patched version so
Gradle picks it over the transitive one.

Verified with gradlew :sensorhub-security-oauth:dependencies that
jackson-core now resolves to 2.18.8, and the module still compiles
and packages cleanly.
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.

GHSA-r7wm-3cxj-wff9

1 participant