CVE-2022-42003: 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 when the UNWRAPSINGLEVALUEARRAYS feature is enabled due to unchecked primitive value deserializers to avoid deep wrapper array nesting.

Other sources

In FasterXML jackson-databind 2.4.0-rc1 until 2.12.7.1 and in 2.13.x before 2.13.4.2 resource exhaustion can occur because of a lack of a check in primitive value deserializers to avoid deep wrapper array nesting, when the UNWRAPSINGLEVALUEARRAYS feature is enabled. This was patched in 2.12.7.1, 2.13.4.2, and 2.14.0.

Commits that introduced vulnerable code are https://github.com/FasterXML/jackson-databind/commit/d499f2e7bbc5ebd63af11e1f5cf1989fa323aa45, https://github.com/FasterXML/jackson-databind/commit/0e37a39502439ecbaa1a5b5188387c01bf7f7fa1, and https://github.com/FasterXML/jackson-databind/commit/7ba9ac5b87a9d6ac0d2815158ecbeb315ad4dcdc.

Fix commits are https://github.com/FasterXML/jackson-databind/commit/cd090979b7ea78c75e4de8a4aed04f7e9fa8deea and https://github.com/FasterXML/jackson-databind/commit/d78d00ee7b5245b93103fef3187f70543d67ca33.

The 2.13.4.1 release does fix this issue, however it also references a non-existent jackson-bom which causes build failures for gradle users. See https://github.com/FasterXML/jackson-databind/issues/3627#issuecomment-1277957548 for details. This is fixed in 2.13.4.2 which is listed in the advisory metadata so that users are not subjected to unnecessary build failures

GitHub

In FasterXML jackson-databind before 2.14.0-rc1, resource exhaustion can occur because of a lack of a check in primitive value deserializers to avoid deep wrapper array nesting, when the UNWRAPSINGLEVALUEARRAYS feature is enabled. Additional fix version in 2.13.4.1 and 2.12.17.1

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 UNWRAPSINGLEVALUEARRAYS feature is enabled.

Affected Software

69 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.1.19-1.el7
0:4.1.19-1.el7
redhat/foreman<0:3.1.1.26-1.el7
0:3.1.1.26-1.el7
redhat/satellite<0:6.11.5-1.el7
0:6.11.5-1.el7
redhat/satellite-clone<0:3.1.1-2.el7
0:3.1.1-2.el7
redhat/tfm-pulpcore-python-naya<0:1.1.1-1.1.el7
0:1.1.1-1.1.el7
redhat/tfm-pulpcore-python-pulp-container<0:2.9.9-1.el7
0:2.9.9-1.el7
redhat/tfm-pulpcore-python-pulpcore<0:3.16.15-1.el7
0:3.16.15-1.el7
redhat/tfm-rubygem-actioncable<0:6.0.6-2.el7
0:6.0.6-2.el7
redhat/tfm-rubygem-actionmailbox<0:6.0.6-2.el7
0:6.0.6-2.el7
redhat/tfm-rubygem-actionmailer<0:6.0.6-2.el7
0:6.0.6-2.el7
redhat/tfm-rubygem-actionpack<0:6.0.6-2.el7
0:6.0.6-2.el7
redhat/tfm-rubygem-actiontext<0:6.0.6-2.el7
0:6.0.6-2.el7
redhat/tfm-rubygem-actionview<0:6.0.6-2.el7
0:6.0.6-2.el7
redhat/tfm-rubygem-activejob<0:6.0.6-2.el7
0:6.0.6-2.el7
redhat/tfm-rubygem-activemodel<0:6.0.6-2.el7
0:6.0.6-2.el7
redhat/tfm-rubygem-activerecord<0:6.0.6-2.el7
0:6.0.6-2.el7
redhat/tfm-rubygem-activestorage<0:6.0.6-2.el7
0:6.0.6-2.el7
redhat/tfm-rubygem-activesupport<0:6.0.6-1.el7
0:6.0.6-1.el7
redhat/tfm-rubygem-katello<0:4.3.0.52-1.el7
0:4.3.0.52-1.el7
redhat/tfm-rubygem-rails<0:6.0.6-2.el7
0:6.0.6-2.el7
redhat/tfm-rubygem-railties<0:6.0.6-2.el7
0:6.0.6-2.el7
redhat/candlepin<0:4.1.19-1.el8
0:4.1.19-1.el8
redhat/foreman<0:3.1.1.26-1.el8
0:3.1.1.26-1.el8
redhat/python-naya<0:1.1.1-1.1.el8
0:1.1.1-1.1.el8
redhat/python-pulp-container<0:2.9.9-1.el8
0:2.9.9-1.el8
redhat/python-pulpcore<0:3.16.15-1.el8
0:3.16.15-1.el8
redhat/rubygem-actioncable<0:6.0.6-2.el8
0:6.0.6-2.el8
redhat/rubygem-actionmailbox<0:6.0.6-2.el8
0:6.0.6-2.el8
redhat/rubygem-actionmailer<0:6.0.6-2.el8
0:6.0.6-2.el8
redhat/rubygem-actionpack<0:6.0.6-2.el8
0:6.0.6-2.el8
redhat/rubygem-actiontext<0:6.0.6-2.el8
0:6.0.6-2.el8
redhat/rubygem-actionview<0:6.0.6-2.el8
0:6.0.6-2.el8
redhat/rubygem-activejob<0:6.0.6-2.el8
0:6.0.6-2.el8
redhat/rubygem-activemodel<0:6.0.6-2.el8
0:6.0.6-2.el8
redhat/rubygem-activerecord<0:6.0.6-2.el8
0:6.0.6-2.el8
redhat/rubygem-activestorage<0:6.0.6-2.el8
0:6.0.6-2.el8
redhat/rubygem-activesupport<0:6.0.6-1.el8
0:6.0.6-1.el8
redhat/rubygem-katello<0:4.3.0.52-1.el8
0:4.3.0.52-1.el8
redhat/rubygem-rails<0:6.0.6-2.el8
0:6.0.6-2.el8
redhat/rubygem-railties<0:6.0.6-2.el8
0:6.0.6-2.el8
redhat/satellite<0:6.11.5-1.el8
0:6.11.5-1.el8
redhat/satellite-clone<0:3.1.1-2.el8
0:3.1.1-2.el8
redhat/candlepin<0:4.1.18-1.el8
0:4.1.18-1.el8
redhat/foreman<0:3.3.0.18-1.el8
0:3.3.0.18-1.el8
redhat/python-pulp-container<0:2.10.10-1.el8
0:2.10.10-1.el8
redhat/python-pulpcore<0:3.18.11-1.el8
0:3.18.11-1.el8
redhat/python-pulp-rpm<0:3.18.9-1.el8
0:3.18.9-1.el8
redhat/rubygem-katello<0:4.5.0.22-1.el8
0:4.5.0.22-1.el8
redhat/satellite<0:6.12.1-1.el8
0:6.12.1-1.el8
redhat/satellite-clone<0:3.2.0-2.el8
0:3.2.0-2.el8
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
debian/jackson-databind<=2.9.8-3+deb10u3
2.9.8-3+deb10u52.12.1-1+deb11u12.14.0-1
maven/com.fasterxml.jackson.core:jackson-databind>=2.13.0<2.13.4.2
2.13.4.2
maven/com.fasterxml.jackson.core:jackson-databind>=2.4.0-rc1<2.12.7.1
2.12.7.1
fasterxml jackson-databind<2.12.7.1
fasterxml jackson-databind>=2.13.0<2.13.4.1
Quarkus Quarkus<2.13.3
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 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.1.19-1.el7
  7. Upgrade

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

    Fixed in 0:3.1.1.26-1.el7
  8. Upgrade

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

    Fixed in 0:6.11.5-1.el7
  9. Upgrade

    Upgrade redhat/satellite-clone to a version that resolves this vulnerability.

    Fixed in 0:3.1.1-2.el7
  10. Upgrade

    Upgrade redhat/tfm-pulpcore-python-naya to a version that resolves this vulnerability.

    Fixed in 0:1.1.1-1.1.el7
  11. Upgrade

    Upgrade redhat/tfm-pulpcore-python-pulp-container to a version that resolves this vulnerability.

    Fixed in 0:2.9.9-1.el7
  12. Upgrade

    Upgrade redhat/tfm-pulpcore-python-pulpcore to a version that resolves this vulnerability.

    Fixed in 0:3.16.15-1.el7
  13. Upgrade

    Upgrade redhat/tfm-rubygem-actioncable to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el7
  14. Upgrade

    Upgrade redhat/tfm-rubygem-actionmailbox to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el7
  15. Upgrade

    Upgrade redhat/tfm-rubygem-actionmailer to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el7
  16. Upgrade

    Upgrade redhat/tfm-rubygem-actionpack to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el7
  17. Upgrade

    Upgrade redhat/tfm-rubygem-actiontext to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el7
  18. Upgrade

    Upgrade redhat/tfm-rubygem-actionview to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el7
  19. Upgrade

    Upgrade redhat/tfm-rubygem-activejob to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el7
  20. Upgrade

    Upgrade redhat/tfm-rubygem-activemodel to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el7
  21. Upgrade

    Upgrade redhat/tfm-rubygem-activerecord to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el7
  22. Upgrade

    Upgrade redhat/tfm-rubygem-activestorage to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el7
  23. Upgrade

    Upgrade redhat/tfm-rubygem-activesupport to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-1.el7
  24. Upgrade

    Upgrade redhat/tfm-rubygem-katello to a version that resolves this vulnerability.

    Fixed in 0:4.3.0.52-1.el7
  25. Upgrade

    Upgrade redhat/tfm-rubygem-rails to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el7
  26. Upgrade

    Upgrade redhat/tfm-rubygem-railties to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el7
  27. Upgrade

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

    Fixed in 0:4.1.19-1.el8
  28. Upgrade

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

    Fixed in 0:3.1.1.26-1.el8
  29. Upgrade

    Upgrade redhat/python-naya to a version that resolves this vulnerability.

    Fixed in 0:1.1.1-1.1.el8
  30. Upgrade

    Upgrade redhat/python-pulp-container to a version that resolves this vulnerability.

    Fixed in 0:2.9.9-1.el8
  31. Upgrade

    Upgrade redhat/python-pulpcore to a version that resolves this vulnerability.

    Fixed in 0:3.16.15-1.el8
  32. Upgrade

    Upgrade redhat/rubygem-actioncable to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el8
  33. Upgrade

    Upgrade redhat/rubygem-actionmailbox to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el8
  34. Upgrade

    Upgrade redhat/rubygem-actionmailer to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el8
  35. Upgrade

    Upgrade redhat/rubygem-actionpack to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el8
  36. Upgrade

    Upgrade redhat/rubygem-actiontext to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el8
  37. Upgrade

    Upgrade redhat/rubygem-actionview to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el8
  38. Upgrade

    Upgrade redhat/rubygem-activejob to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el8
  39. Upgrade

    Upgrade redhat/rubygem-activemodel to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el8
  40. Upgrade

    Upgrade redhat/rubygem-activerecord to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el8
  41. Upgrade

    Upgrade redhat/rubygem-activestorage to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el8
  42. Upgrade

    Upgrade redhat/rubygem-activesupport to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-1.el8
  43. Upgrade

    Upgrade redhat/rubygem-katello to a version that resolves this vulnerability.

    Fixed in 0:4.3.0.52-1.el8
  44. Upgrade

    Upgrade redhat/rubygem-rails to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el8
  45. Upgrade

    Upgrade redhat/rubygem-railties to a version that resolves this vulnerability.

    Fixed in 0:6.0.6-2.el8
  46. Upgrade

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

    Fixed in 0:6.11.5-1.el8
  47. Upgrade

    Upgrade redhat/satellite-clone to a version that resolves this vulnerability.

    Fixed in 0:3.1.1-2.el8
  48. Upgrade

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

    Fixed in 0:4.1.18-1.el8
  49. Upgrade

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

    Fixed in 0:3.3.0.18-1.el8
  50. Upgrade

    Upgrade redhat/python-pulp-container to a version that resolves this vulnerability.

    Fixed in 0:2.10.10-1.el8
  51. Upgrade

    Upgrade redhat/python-pulpcore to a version that resolves this vulnerability.

    Fixed in 0:3.18.11-1.el8
  52. Upgrade

    Upgrade redhat/python-pulp-rpm to a version that resolves this vulnerability.

    Fixed in 0:3.18.9-1.el8
  53. Upgrade

    Upgrade redhat/rubygem-katello to a version that resolves this vulnerability.

    Fixed in 0:4.5.0.22-1.el8
  54. Upgrade

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

    Fixed in 0:6.12.1-1.el8
  55. Upgrade

    Upgrade redhat/satellite-clone to a version that resolves this vulnerability.

    Fixed in 0:3.2.0-2.el8
  56. Upgrade

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

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

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

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

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

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

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

    Fixed in 0:18.0.6-1.redhat_00001.1.el9
  60. 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
  61. Upgrade

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

    Fixed in 2.13.4.2
  62. Upgrade

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

    Fixed in 2.12.7.1
  63. Upgrade

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

    Fixed in 2.12.17.1
  64. Upgrade

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

    Fixed in 2.13.4.2
  65. Upgrade

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

    Fixed in 2.14.0
  66. Configuration

    Disable UNWRAP_SINGLE_VALUE_ARRAYS to prevent resource exhaustion in primitive value deserializers when deep wrapper array nesting occurs.

    FasterXML jackson-databind UNWRAP_SINGLE_VALUE_ARRAYS feature = 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:54 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 the severity of CVE-2022-42003?

CVE-2022-42003 has been assigned a medium severity rating due to its potential for resource exhaustion.

2

How do I fix CVE-2022-42003?

To fix CVE-2022-42003, update to the recommended patched versions of the affected packages.

3

Which versions are affected by CVE-2022-42003?

CVE-2022-42003 affects various versions of FasterXML jackson-databind and other dependent packages up until certain versions.

4

What causes CVE-2022-42003?

CVE-2022-42003 is caused by unchecked primitive value deserializers when the UNWRAP_SINGLE_VALUE_ARRAYS feature is enabled.

5

Is there a workaround for CVE-2022-42003?

Disabling the UNWRAP_SINGLE_VALUE_ARRAYS feature in your application can serve as a temporary workaround for CVE-2022-42003.

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