CVE-2020-19861

Name
CVE-2020-19861
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/NLnetLabs/ldns/issues/51

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:nlnetlabs:ldns:1.7.1:*:*:*:*:*:*:* ldns == None == 1.7.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
ldns 3.14-main 1.7.1-r1 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
ldns 3.13-main 1.7.1-r1 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
ldns 3.12-main 1.7.1-r1 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable