Skip to content
OpenAdvisories

Description

Jackson-core contains core low-level incremental ("streaming") parser and generator abstractions used by Jackson Data Processor. Starting in version 2.0.0 and prior to version 2.13.0, a flaw in jackson-core's `JsonLocation._appendSourceDesc` method allows up to 500 bytes of unintended memory content to be included in exception messages. When parsing JSON from a byte array with an offset and length, the exception message incorrectly reads from the beginning of the array instead of the logical payload start. This results in possible information disclosure in systems using pooled or reused buffers, like Netty or Vert.x. This issue was silently fixed in jackson-core version 2.13.0, released on September 30, 2021, via PR #652. All users should upgrade to version 2.13.0 or later. If upgrading is not immediately possible, applications can mitigate the issue by disabling exception message exposure to clients to avoid returning parsing exception messages in HTTP responses and/or disabling source inclusion in exceptions to prevent Jackson from embedding any source content in exception messages, avoiding leakage.

Affected products

VendorProductAffectedFixed
FasterXML jackson-core >= 2.0.0, < 2.13.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jackson-core 2.13.0-1 —
Debian 13 jackson-core 2.13.0-1 —
Debian 12 jackson-core 2.13.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS jackson-core No fix yet —
Ubuntu 18.04 LTS jackson-core No fix yet —
Ubuntu 16.04 LTS jackson-core No fix yet —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 aws-kinesis-agent 2.0.12-1.amzn2023 ALAS2023-2025-1024
Amazon Linux 2023 jackson-core 2.14.2-1.amzn2023.0.1 ALAS2023-2025-1063
Amazon Linux 2 aws-kinesis-agent 2.0.12-1.amzn2 ALAS2-2025-2898

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling celeborn-0.6 No fix yet —
Wolfi rolling datadog-jmxfetch 0.49.8-r1 —
Wolfi rolling druid 37.0.0-r14 —
Wolfi rolling scala-3.8 3.8.4-r1 —
Wolfi rolling spark-4.0-scala-2.13 4.0.3-r2 —
Wolfi rolling spark-4.1 4.1.0-r1 —
Wolfi rolling spark-4.1-scala-2.13 4.1.2-r5 —
Wolfi rolling tez 0.10.5-r9 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.fasterxml.jackson.core:jackson-core >= 2.0.0, < 2.13.0 2.13.0 GHSA-wf8f-6423-gfxg

Advisories 6

References