Multiple vulnerabilities in XStream



Published: 2022-12-28 | Updated: 2023-01-10
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2022-40151
CVE-2022-41966
CWE-ID CWE-787
CWE-20
Exploitation vector Network
Public exploit Public exploit code for vulnerability #2 is available.
Vulnerable software
Subscribe
xstream
Universal components / Libraries / Libraries used by multiple products

Vendor XStream

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Out-of-bounds write

EUVDB-ID: #VU69283

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-40151

CWE-ID: CWE-787 - Out-of-bounds write

Exploit availability: No

Description

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

The vulnerability exists due to a boundary error if the parser is running on user supplied input. A remote attacker can pass a specially crafted XML input to the application and perform a denial of service attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

xstream: 0.2 - 1.4.19

External links

http://github.com/x-stream/xstream/issues/304
http://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47367
http://github.com/x-stream/xstream/security/advisories/GHSA-f8cc-g7j8-xxpm
http://x-stream.github.io/CVE-2022-40151.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Input validation error

EUVDB-ID: #VU70527

Risk: Medium

CVSSv3.1: 6.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2022-41966

CWE-ID: CWE-20 - Improper input validation

Exploit availability: Yes

Description

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

The vulnerability exists due to insufficient validation of user-supplied XML input. A remote attacker can pass specially crafted data to the application, trigger a stack overflow error and perform a denial of service (DoS) attack.

Mitigation

Install update from vendor's website.

Vulnerable software versions

xstream: 0.2 - 1.4.19

External links

http://x-stream.github.io/CVE-2022-41966.html
http://github.com/x-stream/xstream/security/advisories/GHSA-j563-grx4-pjpv


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###