Out-of-bounds write in xstream - CVE-2022-40151

 

Out-of-bounds write in xstream - CVE-2022-40151

Published: January 26, 2023 / Updated: January 26, 2023


Vulnerability identifier: #VU71585
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-40151
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error when processing untrusted input in the Woodstox XML parser. A remote attacker can pass a specially crafted input to the parser, trigger an out-of-bounds write and execute arbitrary code on the target system.


Affected software

xstream
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Server Module
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
Fedora
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Development Tools Module
openSUSE Leap
openEuler
Oracle WebCenter Portal
Oracle Communications Cloud Native Core Binding Support Function
xstream-hibernate
xstream-benchmark
xstream-parent
xstream-javadoc
xstream
jenkins (Red Hat package)
jenkins-2-plugins (Red Hat package)

How to mitigate CVE-2022-40151

Install updates from vendor's website.

xstream - update to 1.4.20
xstream-hibernate - update to 1.4.20-1
xstream-benchmark - update to 1.4.20-1
xstream-parent - update to 1.4.20-1
xstream-javadoc - update to 1.4.20-1
xstream - update to 1.4.20-1
xstream - update to 1.4.20-1.el8
xstream - update to 1.4.20-150200.3.25.1
xstream-parent - update to 1.4.20-150200.3.25.1
xstream-benchmark - update to 1.4.20-150200.3.25.1
xstream-javadoc - update to 1.4.20-150200.3.25.1
jenkins (Red Hat package) - update to 2.387.3.1684911776-3.el8
jenkins-2-plugins (Red Hat package) - update to 4.13.1684911916-1.el8

External References

Related Security Bulletins