CVE-2020-12460Out-of-bounds Write in Opendmarc

Severity
9.8CRITICALNVD
OSV5.3
EPSS
14.6%
top 5.50%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJul 27
Latest updateSep 11

Description

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 '\0' byte overwrites the heap metadata of the next chunk and its PREV_INUSE flag.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages4 packages

debiandebian/opendmarc< opendmarc 1.4.0~beta1+dfsg-3 (bookworm)
Debiantrusteddomain/opendmarc< 1.4.0~beta1+dfsg-3+3
Ubuntutrusteddomain/opendmarc< 1.3.2-3ubuntu0.2+2

Also affects: Debian Linux 9.0, Fedora 33, 34

🔴Vulnerability Details

3
OSV
opendmarc vulnerabilities2023-09-11
GHSA
GHSA-8c3p-8wh2-8ggf: OpenDMARC through 12022-05-24
OSV
CVE-2020-12460: OpenDMARC through 12020-07-27

📋Vendor Advisories

2
Ubuntu
OpenDMARC vulnerabilities2023-09-11
Debian
CVE-2020-12460: opendmarc - OpenDMARC through 1.3.2 and 1.4.x through 1.4.0-Beta1 has improper null terminat...2020

💬Community

3
Bugzilla
CVE-2020-12460 OpenDMARC: improper null termination in function opendmarc_xml_parse leads to heap-buffer overflow2020-07-30
Bugzilla
CVE-2020-12460 opendmarc: improper null termination in function opendmarc_xml_parse leads to heap-buffer overflow [fedora-all]2020-07-30
Bugzilla
CVE-2020-12460 opendmarc: improper null termination in function opendmarc_xml_parse leads to heap-buffer overflow [epel-all]2020-07-30
CVE-2020-12460 — Out-of-bounds Write in Opendmarc | cvebase