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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.68%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.68% probability · 89th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- trusteddomain/opendmarc · fedoraproject/fedora · debian/debian linux
- Source
- cve@mitre.org
References
- https://github.com/trusteddomainproject/OpenDMARC/issues/64Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/04/msg00026.htmlMailing List, Third Party Advisory
- 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/JHDKMCZGE3W4XBP76NLI2Q7IOZHXLD4A/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KBOGOQOK3TIWWJV66MW5YWNRJAFFYGR5/
- https://security.gentoo.org/glsa/202011-02Third Party Advisory
- https://sourceforge.net/projects/opendmarc/Product, Third Party Advisory
- https://github.com/trusteddomainproject/OpenDMARC/issues/64Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/04/msg00026.htmlMailing List, Third Party Advisory
- 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/JHDKMCZGE3W4XBP76NLI2Q7IOZHXLD4A/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KBOGOQOK3TIWWJV66MW5YWNRJAFFYGR5/
- https://security.gentoo.org/glsa/202011-02Third Party Advisory
- https://sourceforge.net/projects/opendmarc/Product, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.