Jackson-databind: Deserialization of Untrusted Data
CVE-2022-42003 is a high-severity deserialization of untrusted data vulnerability in Jackson-databind from FasterXML, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 2.12.7.1, 2.13.4.1 as the first without the flaw, so updating Jackson-databind to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 3.41% chance of exploitation within 30 days, higher than 89% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Jackson-databind to 2.12.7.1 or 2.13.4.1, whichever matches your release line, or a later version.
- Update Quarkus to 2.13.3 or a later version.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Fasterxml | Jackson-databind | before 2.12.7.1; 2.13.0 up to, but not including, 2.13.4.1 | 2.12.7.1, 2.13.4.1 |
| Quarkus | Quarkus | before 2.13.3 | 2.13.3 |
| Debian | Debian Linux | 10.0; 11.0 | Not stated |
| NetApp | Oncommand Workflow Automation | Not specified in the record | Not stated |
Version data comes from NVD's product matching. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- NoneNo data is disclosed.
- Integrity
- NoneNothing can be modified.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.5 | High | NVD |
| CVSS 3.1 | 7.5 | High | CISA (ADP) |
Official description
In FasterXML jackson-databind before versions 2.13.4.1 and 2.12.17.1, resource exhaustion can occur because of a lack of a check in primitive value deserializers to avoid deep wrapper array nesting, when the UNWRAP_SINGLE_VALUE_ARRAYS feature is enabled.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Deserialization of Untrusted Data
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
How developers prevent this class of flaw
- If available, use the signing/sealing features of the programming language to assure that deserialized data has not been tainted. For example, a hash-based message authentication code (HMAC) could be used to ensure that data has not been modified.
- When deserializing data, populate a new object rather than just deserializing. The result is that the data flows through safe input validation and that the functions are safe.
- Explicitly define a final object() to prevent deserialization.
More Deserialization of Untrusted Data vulnerabilities (CWE-502)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- bugs.chromium.org/p/oss-fuzz/issues/detail?id=51020Exploit, Issue Tracking, Mailing List, Third Party Advisory
- github.com/FasterXML/jackson-databind/commit/d78d00ee7b5245b93103fef3187f70543d67ca33Third Party Advisory
Third-party and government advisories
- lists.debian.org/debian-lts-announce/2022/11/msg00035.htmlMailing List, Third Party Advisory
- security.gentoo.org/glsa/202210-21Third Party Advisory
- security.netapp.com/advisory/ntap-20221124-0004/Third Party Advisory
- debian.org/security/2022/dsa-5283Third Party Advisory
Technical write-ups (may include proof of concept)
- github.com/FasterXML/jackson-databind/issues/3590Exploit, Issue Tracking, Third Party Advisory
Other vulnerabilities in Jackson-databind
- 9.8 Critical severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 8.1 High severity
- 8.1 High severity
Recent Deserialization of Untrusted Data vulnerabilities
- 7.5 High severity
- 8.0 High severity
- 7.2 High severity
- 9.8 Critical severity
- 9.8 Critical severity
- 8.8 High severity
Spotted an error? Tell us.