Out-of-bounds write in OpenDMARC - CVE-2020-12460

 

Out-of-bounds write in OpenDMARC - CVE-2020-12460

Published: July 28, 2020 / Updated: April 30, 2021


Vulnerability identifier: #VU34050
CSH Severity: High
CVSS v4.0: 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:U/U:Amber
CVE-ID: CVE-2020-12460
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Trusted Domain Project
Affected software:
OpenDMARC

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

OpenDMARC through 1.3.2 and 1.4.x through 1.4.0-Beta1 has improper null termination in the function opendmarc_xml_parse that can result in a one-byte heap overflow in opendmarc_xml when parsing a specially crafted DMARC aggregate report. This can cause remote memory corruption when a '�' byte overwrites the heap metadata of the next chunk and its PREV_INUSE flag.


How to mitigate CVE-2020-12460

Install update from vendor's website.

Sources