PT-2025-24332 · Unknown+4 · Jackson-Core+4
Gwittel
·
Published
2025-06-06
·
Updated
2026-05-18
·
CVE-2025-49128
CVSS v3.1
4.0
Medium
| Vector | AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
jackson-core versions 2.0.0 through 2.13.0
Description
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. The issue particularly impacts server applications using pooled byte buffers, frameworks that surface parse errors in HTTP responses, and default Jackson settings.Recommendations
To resolve the issue, upgrade to jackson-core 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.
Additionally, disable source inclusion in exceptions by setting
jsonFactory.disable(JsonFactory.Feature.INCLUDE SOURCE IN LOCATION) to prevent Jackson from embedding any source content in exception messages, avoiding leakage.Exploit
Fix
Generation of Error Message Containing Sensitive Information
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Jackson-Core
Netty
Red Os
Vert.X