Out-of-bounds read in libxml2 (Alpine package)

This security advisory describes one medium risk vulnerability.


1) Out-of-bounds read


Risk: Medium


CVSSv3: 4.7 [CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:W/RC:C] [PCI]


CVE-ID: CVE-2020-24977


CWE-ID: CWE-125 - Out-of-bounds Read


Exploit availability: No


Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.


The vulnerability exists due to a boundary condition within the xmlEncodeEntitiesInternal() function in libxml2/entities.c in libxml2. A remote attacker can pas specially crafted XML data to the affected application, trigger out-of-bounds read error and read contents of memory on the system.


Mitigation

Install update from vendor's website.


Vulnerable software versions

libxml2 (Alpine package)

Alpine Linux 2.52.9.1-r1, 2.9.1-r0

Alpine Linux 3.122.9.10-r4


CPE
External links

https://git.alpinelinux.org/aports/commit/?id=d84e627ac3eb58c9324b16dff512000f8c980ce0


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.




Support the originator by clicking the read the rest link below.