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 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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | opendmarc | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | opendmarc | Fixed | 1.3.2-7ubuntu0.1 | UBUNTU-CVE-2020-12460 |
| Ubuntu 18.04 | opendmarc | Fixed | 1.3.2-3ubuntu0.2 | UBUNTU-CVE-2020-12460 |
| Ubuntu 16.04 | opendmarc | Fix pending | 1.3.1+dfsg-3ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2020-12460 |
| Ubuntu 14.04 | opendmarc | Fix pending | ||
| Debian 14 | opendmarc | Fixed | 1.4.0~beta1+dfsg-3 | DEBIAN-CVE-2020-12460 |
| Debian 13 | opendmarc | Fixed | 1.4.0~beta1+dfsg-3 | DEBIAN-CVE-2020-12460 |
| Debian 12 | opendmarc | Fixed | 1.4.0~beta1+dfsg-3 | DEBIAN-CVE-2020-12460 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://security.gentoo.org/glsa/202011-02 (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://sourceforge.net/projects/opendmarc/
- https://github.com/trusteddomainproject/OpenDMARC/issues/64
- https://security.gentoo.org/glsa/202011-02
- https://lists.debian.org/debian-lts-announce/2021/04/msg00026.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JHDKMCZGE3W4XBP76NLI2Q7IOZHXLD4A/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2D4JGHMALEJEWWG56DKR5OZB22TK7W5B/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KBOGOQOK3TIWWJV66MW5YWNRJAFFYGR5/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.