Description
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 (2)
Core 2
Core References
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/NLnetLabs/ldns/issues/51
Third Party Advisory x_refsource_misc
https://cwe.mitre.org/data/definitions/126.html
Scores
CVSS v3
7.5
EPSS
0.0033
EPSS Percentile
56.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-125
Status
published
Products (1)
nlnetlabs/ldns
1.7.1
Published
Jan 21, 2022
Tracked Since
Feb 18, 2026