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

19 affected componentsFixes available
debian/jackson-databind<=2.9.8-3+deb10u3
2.9.8-3+deb10u52.12.1-1+deb11u12.14.0-1
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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 2.9.8-3+deb10u5Fixed in 2.12.1-1+deb11u1Fixed in 2.14.0-1
  2. Upgrade

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Fixed in 2.13.4
  12. Upgrade

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

    Fixed in 2.12.7.1
  13. Upgrade

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

    Fixed in 2.12.7.1
  14. Upgrade

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

    Fixed in 2.13.4
  15. 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
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 3, 2022
Advisory Published
via GitHub·12:00 AM
Oct 17, 2022
Data Sourced
via Red Hat·06:55 AM
DescriptionSeverityAffected Software
Mar 4, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

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