CVE-2020-12460

NameCVE-2020-12460
DescriptionOpenDMARC 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2639-1, ELA-409-1
Debian Bugs966464

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
opendmarc (PTS)jessie, jessie (lts)1.3.0+dfsg-1+deb8u1fixed
stretch (security), stretch (lts), stretch1.3.2-2+deb9u3fixed
buster1.3.2-6+deb10u2fixed
buster (security)1.3.2-6+deb10u1vulnerable
bullseye1.4.0~beta1+dfsg-6+deb11u1fixed
sid, bookworm1.4.2-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
opendmarcsourcejessie1.3.0+dfsg-1+deb8u1ELA-409-1
opendmarcsourcestretch1.3.2-2+deb9u3DLA-2639-1
opendmarcsourcebuster1.3.2-6+deb10u2
opendmarcsource(unstable)1.4.0~beta1+dfsg-3966464

Notes

https://github.com/trusteddomainproject/OpenDMARC/issues/64
https://github.com/trusteddomainproject/OpenDMARC/commit/50d28af25d8735504b6103537228ce7f76ad765f

Search for package or bug name: Reporting problems