Heap-based buffer overflow in libxml2 (Alpine package)



Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2011-1944
CWE-ID CWE-122
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
libxml2 (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Heap-based buffer overflow

EUVDB-ID: #VU32853

Risk: High

CVSSv4.0: 8.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber]

CVE-ID: CVE-2011-1944

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Integer overflow in xpath.c in libxml2 2.6.x through 2.6.32 and 2.7.x through 2.7.8, and libxml 1.8.16 and earlier,. A remote attacker can use a crafted XML file that triggers a heap-based buffer overflow when adding a new namespace node to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

libxml2 (Alpine package): 2.7.7-r3

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=ac9693018e22f998b73d80d3765149a5a7c2d948
https://git.alpinelinux.org/aports/commit/?id=57d855a2325e23bfd68c732f6fc5fea66eb112a1
https://git.alpinelinux.org/aports/commit/?id=d353ff9e70ef824606e2cf8bd7b45488f5e56c42
https://git.alpinelinux.org/aports/commit/?id=2bba3587bbcb7e55762e8dbdc9704164556baefb


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###