CVE-2022-40149 json
Stack Buffer Overflow in Jettison
published 4y ago modified last mo. also GHSA-56h3-78gp-v83r , EUVD-2022-6704
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
Those using Jettison to parse untrusted XML or JSON data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack.
Patch / fix
- maven org.codehaus.jettison:jettison 1.5.1
- libjettison-java Debian 14, Debian 13, Debian 12 1.5.1-1
debian advisories DEBIAN-CVE-2022-40149
- libjettison-java Ubuntu 20.04 LTS 1.4.0-1ubuntu0.20.04.1
- libjettison-java Ubuntu 22.04 LTS 1.4.1-1ubuntu0.22.04.1
- libjettison-java Ubuntu Pro 16.04 LTS 1.2-3ubuntu0.1~esm1
- libjettison-java Ubuntu Pro 18.04 LTS 1.4.0-1ubuntu0.18.04.1~esm1
ubuntu advisories UBUNTU-CVE-2022-40149
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- eap7-woodstox-core jboss enterprise application platform 7.4, jboss enterprise application platform eus 7.3 6.4.0-1.redhat_00001.1.el7eap
- jenkins ocp tools 4.11 2.401.1.1686831596-3.el8
- jenkins-2-plugins ocp tools 4.11 4.11.1686831822-1.el8
- rh-sso7-keycloak red hat single sign on 7.6 18.0.6-1.redhat_00001.1.el7sso
- rh-sso7-keycloak-server red hat single sign on 7.6 18.0.6-1.redhat_00001.1.el7sso
- rh-sso7-keycloak red hat single sign on 7.6 18.0.6-1.redhat_00001.1.el8sso
- rh-sso7-keycloak-server red hat single sign on 7.6 18.0.6-1.redhat_00001.1.el8sso
- rh-sso7-keycloak red hat single sign on 7.6 18.0.6-1.redhat_00001.1.el9sso
red hat advisories RHSA-2025:4437RHSA-2025:4226RHSA-2023:3663RHSA-2023:1043RHSA-2023:1044RHSA-2023:1045
- jettison openSUSE Tumbleweed 1.5.1-1.1
opensuse advisories openSUSE-SU-2024:12388-1
Is CVE-2022-40149 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-40149 updated cvss 7.5
jettison: parser crash by stackoverflow
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/elasticsearch6-rhel8 Red Hat build of Quarkus jettisonaffected: no fix planned “Will not fix”
-
Red Hat Decision Manager 7 jettison Red Hat Enterprise Linux 7 jettison, jettison-javadocaffected: no fix planned “Out of support scope”
-
Red Hat Fuse 7 jettisonaffected: no fix planned “Will not fix”
-
Red Hat Integration Camel K 1 jettison Red Hat Integration Camel Quarkus 1 jettisonaffected: no fix available
-
Red Hat JBoss Data Grid 7 jettison Red Hat JBoss Data Virtualization 6 jettison Red Hat JBoss Enterprise Application Platform 6 jettison, jboss-on jboss-on, eap6-jettison eap6-jettison, jbossas-modules-eap jbossas-modules-eap, keycloak-adapter-eap6 keycloak-adapter-eap6, keycloak-adapter-sso7_2-eap6 keycloak-adapter-sso7_2-eap6, +3 moreaffected: no fix planned “Out of support scope”
-
Red Hat JBoss Enterprise Application Platform Expansion Pack jettisonaffected: no fix planned “Will not fix”
-
Red Hat JBoss Fuse 6 jettison Red Hat JBoss Fuse Service Works 6 jettison Red Hat JBoss Operations Network 3 jboss-on jboss-on, org.jboss.on-jboss-on-parent org.jboss.on-jboss-on-parent Red Hat OpenShift Container Platform 3.11 jenkins-2-pluginsaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 jenkins-2-pluginsaffected: no fix available
show 19 moreshow fewer
-
Red Hat Process Automation 7 jettisonaffected: no fix planned “Out of support scope”
-
Red Hat Middleware Containers for OpenShift rh-sso-7/sso76-openshift-rhel8 7.6-20fixed: vendor fix RHSA-2023:1047
-
Red Hat OpenShift Developer Tools and Services for OCP 4.11 for RHEL 8 jenkins-2-plugins 4.11.1686831822-1.el8fixed: vendor fix RHSA-2023:3663
-
Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins-2-plugins 4.12.1686649756-1.el8fixed: vendor fix RHSA-2023:3610
-
Red Hat AMQ Streams 2.4.0fixed: vendor fix RHSA-2023:3223
-
Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-jettison 1.5.2-1.redhat_00002.1.el7eapfixed: vendor fix RHSA-2023:0552
-
Red Hat JBoss EAP 7.4 for RHEL 8 eap7-jettison 1.5.2-1.redhat_00002.1.el8eapfixed: vendor fix RHSA-2023:0553
-
Red Hat JBoss EAP 7.4 for RHEL 9 eap7-jettison 1.5.2-1.redhat_00002.1.el9eapfixed: vendor fix RHSA-2023:0554
-
Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 Server eap7-jsoup 1.14.2-1.redhat_00002.1.ep7.el7, eap7-wildfly 7.1.10-2.GA_redhat_00002.1.ep7.el7, eap7-woodstox-core 5.0.3-2.redhat_00002.1.ep7.el7, eap7-xml-security 2.0.10-2.redhat_00002.1.ep7.el7, eap7-undertow 1.4.18-14.SP13_redhat_00001.1.ep7.el7, eap7-artemis-native 1.5.5.016-1.redhat_00001.1.ep7.el7, +19 morefixed: vendor fix RHSA-2025:4226
-
Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 Server eap7-gson 2.8.9-1.redhat_00001.1.el7eap, eap7-wildfly 7.3.13-4.GA_redhat_00002.1.el7eap, eap7-woodstox-core 6.4.0-1.redhat_00001.1.el7eap, eap7-activemq-artemis 2.9.0-10.redhat_00021.1.el7eap, eap7-hal-console 3.2.18-1.Final_redhat_00001.1.el7eap, eap7-wildfly-modules 7.3.13-4.GA_redhat_00002.1.el7eap, +41 morefixed: vendor fix RHSA-2025:4437
-
Red Hat JBoss Enterprise Application Platform 7.4.9 jettison 1.5.2.redhat-00002fixed: vendor fix RHSA-2023:0556
-
Red Hat Single Sign-On 7fixed: vendor fix RHSA-2023:1049
-
Red Hat Single Sign-On 7.6 for RHEL 7 Server rh-sso7-keycloak 18.0.6-1.redhat_00001.1.el7sso, rh-sso7-keycloak-server 18.0.6-1.redhat_00001.1.el7ssofixed: vendor fix RHSA-2023:1043
-
Red Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloak 18.0.6-1.redhat_00001.1.el8sso, rh-sso7-keycloak-server 18.0.6-1.redhat_00001.1.el8ssofixed: vendor fix RHSA-2023:1044
-
Red Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloak 18.0.6-1.redhat_00001.1.el9sso, rh-sso7-keycloak-server 18.0.6-1.redhat_00001.1.el9ssofixed: vendor fix RHSA-2023:1045
-
Red Hat RHINT Camel-Q 2.13.2fixed: vendor fix RHSA-2023:0469
-
Red Hat RHINT Camel-Springboot 3.14.5.P1fixed: vendor fix RHSA-2023:0544
-
Red Hat RHPAM 7.13.1 asyncfixed: vendor fix RHSA-2023:2135
-
Red Hat A-MQ Clients 2 jettison Red Hat OpenShift Developer Tools and Services for OCP 4.11 for RHEL 8 jenkins 2.401.1.1686831596-3.el8 Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins 2.401.1.1686649641-3.el8 Red Hat Data Grid 8 jettison Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-wildfly 7.4.9-4.GA_redhat_00003.1.el7eap, eap7-apache-sshd 2.9.2-1.redhat_00001.1.el7eap, eap7-jackson-core 2.12.7-1.redhat_00003.1.el7eap, eap7-undertow 2.2.22-1.SP3_redhat_00001.1.el7eap, eap7-woodstox-core 6.4.0-1.redhat_00001.1.el7eap, eap7-elytron-web 1.9.3-1.Final_redhat_00001.1.el7eap, +42 more Red Hat JBoss EAP 7.4 for RHEL 8 eap7-wildfly 7.4.9-4.GA_redhat_00003.1.el8eap, eap7-apache-sshd 2.9.2-1.redhat_00001.1.el8eap, eap7-jackson-core 2.12.7-1.redhat_00003.1.el8eap, eap7-undertow 2.2.22-1.SP3_redhat_00001.1.el8eap, eap7-woodstox-core 6.4.0-1.redhat_00001.1.el8eap, eap7-elytron-web 1.9.3-1.Final_redhat_00001.1.el8eap, +40 morenot affected: vulnerable code not present
3 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
1.68% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.codehaus.jettison:jettison | <1.5.1 |
1.5.1 |
Affected products
- Jettison Jettison
Classification
References
-
github.com
/jettison-json/jettison/pull/49/files
web
-
debian.org
/security/2023/dsa-5312
vendor-advisory, web, third-party-advisory
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=46538
web, permissions-required, third-party-advisory
-
github.com
/jettison-json/jettison/issues/45
web, issue-tracking, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/11/msg00011.html
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-40149
advisory
-
github.com
/jettison-json/jettison
package
-
github.com
/jettison-json/jettison/releases/tag/jettison-1.5.1
web
Sources
- CVE List CVE-2022-40149
- GitHub Advisory GHSA-56h3-78gp-v83r
- NVD CVE-2022-40149
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.