Current 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 ‘’ byte overwrites the heap metadata of the next chunk and its PREV_INUSE flag.

View Analysis Description

Analysis 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 ‘’ byte overwrites the heap metadata of the next chunk and its PREV_INUSE flag.

Severity

CVSS 3.x Severity and Metrics:

CVSS 2.0 Severity and Metrics:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

Weakness Enumeration

CWE-ID CWE Name Source
CWE-787 Out-of-bounds Write NIST  

Change History

1 change records found show changes

Initial Analysis 7/29/2020 12:32:28 PM

Action Type Old Value New Value
Added CPE Configuration
OR
     *cpe:2.3:a:trusteddomain:opendmarc:*:*:*:*:*:*:*:* versions up to (including) 1.3.2
     *cpe:2.3:a:trusteddomain:opendmarc:1.4.0:-:*:*:*:*:*:*
     *cpe:2.3:a:trusteddomain:opendmarc:1.4.0:beta0:*:*:*:*:*:*
     *cpe:2.3:a:trusteddomain:opendmarc:1.4.0:beta1:*:*:*:*:*:*
Added CVSS V2
NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Added CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Added CWE
NIST CWE-787
Changed Reference Type
https://github.com/trusteddomainproject/OpenDMARC/issues/64 No Types Assigned
https://github.com/trusteddomainproject/OpenDMARC/issues/64 Exploit, Third Party Advisory
Changed Reference Type
https://sourceforge.net/projects/opendmarc/ No Types Assigned
https://sourceforge.net/projects/opendmarc/ Product, Third Party Advisory