CVE-2022-42004: High severity fasterxml jackson-databind vulnerability

Published Oct 2, 2022
·
Updated

A flaw was found In FasterXML jackson-databind. This issue could allow an attacker to benefit from resource exhaustion due to the lack of a check in BeanDeserializer.deserializeFromArray to prevent the use of deeply nested arrays. An application is only vulnerable with certain customized choices for deserialization.

Other sources

In FasterXML jackson-databind before 2.12.7.1 and in 2.13.x before 2.13.4, resource exhaustion can occur because of a lack of a check in BeanDeserializer.deserializeFromArray to prevent use of deeply nested arrays. This issue can only happen when the UNWRAPSINGLEVALUEARRAYS feature is explicitly enabled.

— GitHub

In FasterXML jackson-databind before 2.13.4, resource exhaustion can occur because of a lack of a check in BeanDeserializer.deserializeFromArray to prevent use of deeply nested arrays. An application is vulnerable only with certain customized choices for deserialization.

Affected Software

23 affected componentsFixes available
redhat/jenkins<2-plugins-0:4.11.1686831822-1.el8
2-plugins-0:4.11.1686831822-1.el8
redhat/jenkins<2-plugins-0:4.12.1675702407-1.el8
2-plugins-0:4.12.1675702407-1.el8
redhat/eap7-jackson-databind<0:2.12.7-1.redhat_00003.1.el8ea
0:2.12.7-1.redhat_00003.1.el8ea
redhat/eap7-jackson-databind<0:2.12.7-1.redhat_00003.1.el9ea
0:2.12.7-1.redhat_00003.1.el9ea
redhat/eap7-jackson-databind<0:2.12.7-1.redhat_00003.1.el7ea
0:2.12.7-1.redhat_00003.1.el7ea
redhat/candlepin<0:4.2.13-1.el8
0:4.2.13-1.el8
redhat/rh-sso7-keycloak<0:18.0.6-1.redhat_00001.1.el7
0:18.0.6-1.redhat_00001.1.el7
redhat/rh-sso7-keycloak<0:18.0.6-1.redhat_00001.1.el8
0:18.0.6-1.redhat_00001.1.el8
redhat/rh-sso7-keycloak<0:18.0.6-1.redhat_00001.1.el9
0:18.0.6-1.redhat_00001.1.el9
maven/com.fasterxml.jackson.core:jackson-databind>=2.13.0<2.13.4
2.13.4
maven/com.fasterxml.jackson.core:jackson-databind<2.12.7.1
2.12.7.1
fasterxml jackson-databind<2.12.7.1
fasterxml jackson-databind>=2.13.0<2.13.4
Quarkus Quarkus<2.13.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
NetApp OnCommand Workflow Automation
IBM InfoSphere Data Architect<=9.2.1
maven/com.fasterxml.jackson.core:jackson-databind>=2.4.0-rc1<2.12.7.1
2.12.7.1
debian/jackson-databind<2.14.0-1
2.14.0-1
debian/jackson-databind<2.14.0-1
2.14.0-1
debian/jackson-databind<2.14.0-1
2.14.0-1
debian/jackson-databind
2.9.8-3+deb10u42.12.1-1+deb11u12.14.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/jenkins to a version that resolves this vulnerability.

    Fixed in 2-plugins-0:4.11.1686831822-1.el8
  2. Upgrade

    Upgrade redhat/jenkins to a version that resolves this vulnerability.

    Fixed in 2-plugins-0:4.12.1675702407-1.el8
  3. Upgrade

    Upgrade redhat/eap7-jackson-databind to a version that resolves this vulnerability.

    Fixed in 0:2.12.7-1.redhat_00003.1.el8ea
  4. Upgrade

    Upgrade redhat/eap7-jackson-databind to a version that resolves this vulnerability.

    Fixed in 0:2.12.7-1.redhat_00003.1.el9ea
  5. Upgrade

    Upgrade redhat/eap7-jackson-databind to a version that resolves this vulnerability.

    Fixed in 0:2.12.7-1.redhat_00003.1.el7ea
  6. Upgrade

    Upgrade redhat/candlepin to a version that resolves this vulnerability.

    Fixed in 0:4.2.13-1.el8
  7. Upgrade

    Upgrade redhat/rh-sso7-keycloak to a version that resolves this vulnerability.

    Fixed in 0:18.0.6-1.redhat_00001.1.el7
  8. Upgrade

    Upgrade redhat/rh-sso7-keycloak to a version that resolves this vulnerability.

    Fixed in 0:18.0.6-1.redhat_00001.1.el8
  9. Upgrade

    Upgrade redhat/rh-sso7-keycloak to a version that resolves this vulnerability.

    Fixed in 0:18.0.6-1.redhat_00001.1.el9
  10. Upgrade

    Upgrade maven/com.fasterxml.jackson.core:jackson-databind to a version that resolves this vulnerability.

    Fixed in 2.13.4
  11. Upgrade

    Upgrade maven/com.fasterxml.jackson.core:jackson-databind to a version that resolves this vulnerability.

    Fixed in 2.12.7.1
  12. Upgrade

    Upgrade debian/jackson-databind to a version that resolves this vulnerability.

    Fixed in 2.14.0-1
  13. Upgrade

    Upgrade debian/jackson-databind to a version that resolves this vulnerability.

    Fixed in 2.9.8-3+deb10u4Fixed in 2.12.1-1+deb11u1Fixed in 2.14.0-1
  14. Upgrade

    Upgrade FasterXML jackson-databind to a version that resolves this vulnerability.

    Fixed in 2.12.7.1
  15. Upgrade

    Upgrade FasterXML jackson-databind to a version that resolves this vulnerability.

    Fixed in 2.13.4
  16. Configuration

    Ensure the UNWRAP_SINGLE_VALUE_ARRAYS feature is not explicitly enabled, since the described resource exhaustion issue can only happen when this feature is explicitly enabled.

    FasterXML jackson-databind UNWRAP_SINGLE_VALUE_ARRAYS = disable

Event History

Oct 2, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·05:15 AM
DescriptionAffected Software
Oct 3, 2022
Advisory Published
via GitHub·12:00 AM
Data Sourced
via GitHub·12:00 AM
DescriptionSeverityWeaknessAffected Software
Dec 15, 2022
Updated
12:00 AM
Affected Software
Mar 10, 2023
Updated
12:00 AM
Affected Software
May 4, 2023
Updated
12:00 AM
Affected Software
Oct 11, 2023
Data Sourced
via Red Hat·02:41 PM
DescriptionSeverityAffected Software
Feb 28, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Updated
via IBM·12:00 AM
Affected Software
Mar 14, 2024
Advisory Published
via GitHub·11:30 PM
May 28, 2024
Updated
via IBM·12:00 AM
Affected Software
Nov 21, 2024
Updated
via NVD·07:24 AM
RemedyAffected Software
Dec 2, 2024
Updated
via GitHub·04:17 PM
Description
Feb 20, 2025
Updated
via IBM·12:00 AM
Affected Software
Mar 25, 2025
Updated
via IBM·12:00 AM
Affected Software
Apr 3, 2025
Updated
via IBM·12:00 AM
Affected Software
Sep 10, 2025
Updated
via IBM·12:00 AM
DescriptionAffected Software
Feb 9, 2026
Updated
via IBM·12:00 AM
Affected Software
Mar 4, 2026
Updated
via IBM·12:00 AM
Affected Software
May 21, 2026
Updated
via GitHub·12:22 AM
Affected Software
Oct 7, 2026
Updated
via NVD·05:16 PM
SeverityWeaknessAffected Software
Updated
via NVD·05:16 PM
SeverityWeakness
Nov 3, 2026
Data Sourced
via OSV·08:04 AM
Severity

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-42004?

CVE-2022-42004 is a vulnerability in FasterXML jackson-databind that allows an attacker to exhaust system resources due to a lack of a check in BeanDeserializer._deserializeFromArray.

2

How does CVE-2022-42004 impact an application?

CVE-2022-42004 can impact an application by allowing an attacker to exploit deeply nested arrays, leading to resource exhaustion.

3

What is the severity of CVE-2022-42004?

CVE-2022-42004 has a severity rating of high (7 out of 10).

4

How can I fix CVE-2022-42004?

To fix CVE-2022-42004, upgrade to FasterXML jackson-databind version 2.13.4 or later.

5

Where can I find more information about CVE-2022-42004?

More information about CVE-2022-42004 can be found on the CVE website (https://www.cve.org/CVERecord?id=CVE-2022-42004) and the NVD website (https://nvd.nist.gov/vuln/detail/CVE-2022-42004).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203