CVE-2020-19861

When a zone file in ldns 1.7.1 is parsed, the function ldns_nsec3_salt_data is too trusted for the length value obtained from the zone file. When the memcpy is copied, the 0xfe - ldns_rdf_size(salt_rdf) byte data can be copied, causing heap overflow information leakage.
References
Link Resource
https://cwe.mitre.org/data/definitions/126.html Third Party Advisory
https://github.com/NLnetLabs/ldns/issues/51 Exploit Issue Tracking Third Party Advisory
https://cwe.mitre.org/data/definitions/126.html Third Party Advisory
https://github.com/NLnetLabs/ldns/issues/51 Exploit Issue Tracking Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:nlnetlabs:ldns:1.7.1:*:*:*:*:*:*:*

History

21 Nov 2024, 05:09

Type Values Removed Values Added
References () https://cwe.mitre.org/data/definitions/126.html - Third Party Advisory () https://cwe.mitre.org/data/definitions/126.html - Third Party Advisory
References () https://github.com/NLnetLabs/ldns/issues/51 - Exploit, Issue Tracking, Third Party Advisory () https://github.com/NLnetLabs/ldns/issues/51 - Exploit, Issue Tracking, Third Party Advisory

12 Jul 2022, 17:42

Type Values Removed Values Added
CWE CWE-120 CWE-125

10 Jul 2022, 21:15

Type Values Removed Values Added
References
  • (MISC) https://cwe.mitre.org/data/definitions/126.html -

27 Jan 2022, 17:04

Type Values Removed Values Added
CPE cpe:2.3:a:nlnetlabs:ldns:1.7.1:*:*:*:*:*:*:*
References (MISC) https://github.com/NLnetLabs/ldns/issues/51 - (MISC) https://github.com/NLnetLabs/ldns/issues/51 - Exploit, Issue Tracking, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5
CWE CWE-120

21 Jan 2022, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-01-21 15:15

Updated : 2024-11-21 05:09


NVD link : CVE-2020-19861

Mitre link : CVE-2020-19861

CVE.ORG link : CVE-2020-19861


JSON object : View

Products Affected

nlnetlabs

  • ldns
CWE
CWE-125

Out-of-bounds Read