Out-of-bounds Write Affecting trusteddomainproject/opendmarc package, versions [,1.4.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.99% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-TRUSTEDDOMAINPROJECTOPENDMARC-2366481
  • published26 Jan 2022
  • disclosed27 Jul 2020
  • creditUnknown

Introduced: 27 Jul 2020

CVE-2020-12460  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade trusteddomainproject/opendmarc to version 1.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. 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.

References

CVSS Scores

version 3.1