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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2020-12460 vendor-advisory
- github.com exploit issue-tracking third-party-advisory
- [debian-lts-announce] 20210425 [SECURITY] [DLA 2639-1] opendmarc security update mailing-list third-party-advisory
- FEDORA-2021-1ec3c5ed63 vendor-advisory
- FEDORA-2021-c1b846164e vendor-advisory
- FEDORA-2021-433e7d72ce vendor-advisory
- GLSA-202011-02 third-party-advisory vendor-advisory
- sourceforge.net issue-tracking product third-party-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking