CVE-2022-42003
jackson-databind: deep wrapper array nesting wrt UNWRAP_SINGLE_VALUE_ARRAYS
Overview
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: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-502
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | com.fasterxml.jackson.core:jackson-databind | >=2.4.0-rc1, <2.12.7.1>=2.13.0, <2.13.4.2 | 2.12.7.12.13.4.2 |
| Seal Maven | com.fasterxml.jackson.core:jackson-databind | >=2.4.0+sp0, <2.4.0+sp2>=2.4.2+sp0, <2.4.2+sp999>=2.5.2+sp0, <2.5.2+sp999>=2.6.7.2+sp0, <2.6.7.2+sp999>=2.6.7.3+sp0, <2.6.7.3+sp999 | 2.4.0+sp22.4.2+sp9992.5.2+sp9992.6.7.2+sp9992.6.7.3+sp999 |
| Seal Maven | seal.sp1.com.fasterxml.jackson.core:jackson-databind | >=2.4.0, <2.4.0+sp999>=2.4.2, <2.4.2+sp999>=2.5.2, <2.5.2+sp999>=2.6.7.2, <2.6.7.2+sp999>=2.6.7.3, <2.6.7.3+sp999 | 2.4.0+sp9992.4.2+sp9992.5.2+sp9992.6.7.2+sp9992.6.7.3+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 70 fixes
Red Hat 4 releases · 17 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | candlepin +2 | affected | — |
| 7 | jenkins-2-plugins +1 | eol | — |
| 7 | eap7-wildfly-elytron +1 | 0:1.15.16-1.Final_redhat_00001.1.el7eap | RHSA-2023:0552 |
| 7 | eap7-jettison | 0:1.3.8-2.redhat_00002.1.ep7.el7 | RHSA-2025:1746 |
| 7 | eap7-snakeyaml | 0:1.33.0-1.SP1_redhat_00001.1.el7eap | RHSA-2025:1747 |
| 7 | eap7-snakeyaml | 0:1.33.0-1.SP1_redhat_00001.1.ep7.el7 | RHSA-2025:1746 |
38 more rows
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | jackson-databind | 2.13.4.2-150200.3.12.1 | SUSE-SU-2022:3995-1 |
chainguard 1 release · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| cassandra-fips-5-0 +1 | not affected | |
| management-api-for-apache-cassandra-4-1 | 0.1.109-r0 | |
| management-api-for-apache-cassandra-4-0 +1 | 0.1.89-r0 | |
| spark-3-5 | 3.5.7-r2 | |
| scala-3-8 | 3.8.4-r1 | |
| cassandra-reaper | 4.0.1-r1 |
1 more row
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | jackson-databind | 2.9.8-3+deb10u4 |
| 11 | jackson-databind | 2.12.1-1+deb11u1 |
| 12 | jackson-databind | 2.14.0-1 |
| 13 | jackson-databind | 2.14.0-1 |
| 14 | jackson-databind | 2.14.0-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| jackson-databind | 2.14.0-1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | jackson-databind +1 | 2.13.4.2-1.1 | openSUSE-SU-2024:12412-1 |
| Tumbleweed | java-jwt +1 | 4.4.0-1.1 | openSUSE-SU-2024:14395-1 |
seal Red Hat 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-jinja2 +1 | 2.7.2-4.el7+sp999 |
| 8 | libsolv +1 | 0.7.20-6.el8+sp999 |
ubuntu 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | jackson-databind | affected |
| 20.04-ESM | jackson-databind | affected |
| 22.04 | jackson-databind | affected |
wolfi 1 release · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| druid | not affected | |
| management-api-for-apache-cassandra-5-0 | 0.1.89-r0 | |
| scala-3-8 | 3.8.4-r1 | |
| cassandra-reaper | 4.0.1-r1 | |
| cassandra-5-0 | 5.0.3-r2 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-42003
- bugs.chromium.org https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=51020
- github.com https://github.com/FasterXML/jackson-databind
- github.com https://github.com/FasterXML/jackson-databind/blob/2.13/release-notes/VERSION-2.x
- github.com https://github.com/FasterXML/jackson-databind/commit/0e37a39502439ecbaa1a5b5188387c01bf7f7fa1
- github.com https://github.com/FasterXML/jackson-databind/commit/2c4a601c626f7790cad9d3c322d244e182838288
- github.com https://github.com/FasterXML/jackson-databind/commit/7ba9ac5b87a9d6ac0d2815158ecbeb315ad4dcdc
- github.com https://github.com/FasterXML/jackson-databind/commit/cd090979b7ea78c75e4de8a4aed04f7e9fa8deea
- github.com https://github.com/FasterXML/jackson-databind/commit/d499f2e7bbc5ebd63af11e1f5cf1989fa323aa45
- github.com https://github.com/FasterXML/jackson-databind/commit/d78d00ee7b5245b93103fef3187f70543d67ca33
Show all 22 references
- github.com https://github.com/FasterXML/jackson-databind/commit/d78d00ee7b5245b93103fef3187f70543d67ca33 (jackson-databind-2.14.0-rc1)
- github.com https://github.com/FasterXML/jackson-databind/commits/jackson-databind-2.4.0-rc1?after=75b97b8519f0d50c62523ad85170d80a197a2c86+174&branch=jackson-databind-2.4.0-rc1&qualified_name=refs%2Ftags%2Fjackson-databind-2.4.0-rc1
- github.com https://github.com/FasterXML/jackson-databind/compare/jackson-databind-2.13.4.1...jackson-databind-2.13.4.2
- github.com https://github.com/FasterXML/jackson-databind/issues/3590
- github.com https://github.com/FasterXML/jackson-databind/issues/3627
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/11/msg00035.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-42003
- security.gentoo.org https://security.gentoo.org/glsa/202210-21
- security.netapp.com https://security.netapp.com/advisory/ntap-20221124-0004
- security.netapp.com https://security.netapp.com/advisory/ntap-20221124-0004/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-42003
- www.debian.org https://www.debian.org/security/2022/dsa-5283
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.