Skip to content

CVE-2020-12460 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 spec...

CriticalCVSS 9.8 EPSS 3.7%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

9 packages: 7 fixed.

PackageAffectedFixed inStatus
debian/opendmarc(Debian 12) < 1.4.0~beta1+dfsg-3 1.4.0~beta1+dfsg-3 Fixed
debian/opendmarc(Debian 13) < 1.4.0~beta1+dfsg-3 1.4.0~beta1+dfsg-3 Fixed
debian/opendmarc(Debian 14) < 1.4.0~beta1+dfsg-3 1.4.0~beta1+dfsg-3 Fixed
trusteddomain opendmarc <= 1.3.2; = 1.4.0-beta0; = 1.4.0-beta1 after 1.3.2 Fixed
ubuntu/opendmarc(Ubuntu 18.04) < 1.3.2-3ubuntu0.2; = 1.3.2-2; = 1.3.2-3; = 1.3.2-3ubuntu0.1 1.3.2-3ubuntu0.2 Fixed
ubuntu/opendmarc(Ubuntu 20.04) < 1.3.2-7ubuntu0.1; = 1.3.2-6; = 1.3.2-7 1.3.2-7ubuntu0.1 Fixed
ubuntu/opendmarc(Ubuntu Pro 16.04) < 1.3.1+dfsg-3ubuntu0.1~esm1; = 1.3.1+dfsg-2; = 1.3.1+dfsg-3 1.3.1+dfsg-3ubuntu0.1~esm1 Fixed
debian linux = 9.0 No fix listed Versions listed
fedoraproject fedora = 33; = 34 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/opendmarc(Debian:12) < 1.4.0~beta1+dfsg-3 1.4.0~beta1+dfsg-3
debian/opendmarc(Debian:13) < 1.4.0~beta1+dfsg-3 1.4.0~beta1+dfsg-3
debian/opendmarc(Debian:14) < 1.4.0~beta1+dfsg-3 1.4.0~beta1+dfsg-3
trusteddomain opendmarc <= 1.3.2 No fix listed
trusteddomain opendmarc = 1.4.0-beta0 No fix listed
trusteddomain opendmarc = 1.4.0-beta1 No fix listed
fedoraproject fedora = 33 No fix listed
fedoraproject fedora = 34 No fix listed
debian linux = 9.0 No fix listed
ubuntu/opendmarc(Ubuntu:Pro:16.04) < 1.3.1+dfsg-3ubuntu0.1~esm1 1.3.1+dfsg-3ubuntu0.1~esm1
ubuntu/opendmarc(Ubuntu:Pro:16.04) = 1.3.1+dfsg-2 No fix listed
ubuntu/opendmarc(Ubuntu:Pro:16.04) = 1.3.1+dfsg-3 No fix listed
ubuntu/opendmarc(Ubuntu:18.04) < 1.3.2-3ubuntu0.2 1.3.2-3ubuntu0.2
ubuntu/opendmarc(Ubuntu:18.04) = 1.3.2-2 No fix listed
ubuntu/opendmarc(Ubuntu:18.04) = 1.3.2-3 No fix listed
ubuntu/opendmarc(Ubuntu:18.04) = 1.3.2-3ubuntu0.1 No fix listed
ubuntu/opendmarc(Ubuntu:20.04) < 1.3.2-7ubuntu0.1 1.3.2-7ubuntu0.1
ubuntu/opendmarc(Ubuntu:20.04) = 1.3.2-6 No fix listed
ubuntu/opendmarc(Ubuntu:20.04) = 1.3.2-7 No fix listed

References