CVE-2022-40151: Stack Buffer Overflow in xstream

Published Aug 7, 2022
·
Updated

A flaw was found in the XStream package. This flaw allows an attacker to cause a denial of service (DoS) in its target via XML serialization.

Other sources

Those using Xstream to seralize XML 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.

XStream is vulnerable to a denial of service, caused by a stack-based buffer overflow. By sending a specially-crafted XML data, a remote authenticated attacker could exploit this vulnerability to causes the parser to crash, and results in a denial of service condition.

Affected Software

4 affected componentsFixes available
redhat/jenkins<0:2.387.3.1684911776-3.el8
0:2.387.3.1684911776-3.el8
IBM Disconnected Log Collector<=v1.0 - v1.8.2
Xstream Project Xstream<=1.4.19
XStream XStream<1.4.20

Event History

Sep 16, 2022
CVE Published
12:00 AM
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
DescriptionSeverityWeakness
Oct 13, 2022
Data Sourced
via Red Hat·06:10 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

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-40151?

CVE-2022-40151 is a vulnerability in the XStream package that allows an attacker to cause a denial of service (DOS) attack by crashing the parser with stack overflow.

2

Who is affected by CVE-2022-40151?

Users of XStream who are running the vulnerable version of the software are affected by CVE-2022-40151.

3

What is the severity of CVE-2022-40151?

CVE-2022-40151 has a severity rating of high.

4

How can an attacker exploit CVE-2022-40151?

An attacker can exploit CVE-2022-40151 by supplying content to the XStream parser that causes it to crash with a stack overflow, resulting in a denial of service attack.

5

How can I protect myself from CVE-2022-40151?

To protect yourself from CVE-2022-40151, update XStream to version 2.387.3.1684911776-3.el8 or later, as provided by Red Hat.

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