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_rd...
HighCVSS 7.5
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
9 packages: 8 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/ldns(Debian 12) | < 1.8.1-1 | 1.8.1-1 | Fixed |
| debian/ldns(Debian 13) | < 1.8.1-1 | 1.8.1-1 | Fixed |
| debian/ldns(Debian 14) | < 1.8.1-1 | 1.8.1-1 | Fixed |
| ubuntu/ldns(Ubuntu 18.04) | < 1.7.0-3ubuntu4.1; = 1.7.0-1ubuntu1; = 1.7.0-3ubuntu1; = 1.7.0-3ubuntu2 +1 more | 1.7.0-3ubuntu4.1 | Fixed |
| ubuntu/ldns(Ubuntu 22.04) | < 1.7.1-2ubuntu4+esm1 | 1.7.1-2ubuntu4+esm1 | Fixed |
| ubuntu/ldns(Ubuntu Pro 16.04) | < 1.6.17-8ubuntu0.1+esm1; = 1.6.17-5; = 1.6.17-7; = 1.6.17-8 +1 more | 1.6.17-8ubuntu0.1+esm1 | Fixed |
| ubuntu/ldns(Ubuntu Pro 20.04) | < 1.7.0-4.1ubuntu1+esm1; = 1.7.0-3ubuntu8; = 1.7.0-4; = 1.7.0-4.1ubuntu1 +1 more | 1.7.0-4.1ubuntu1+esm1 | Fixed |
| ubuntu/ldns(Ubuntu Pro 22.04) | < 1.7.1-2ubuntu4+esm1; = 1.7.1-2build1; = 1.7.1-2ubuntu1; = 1.7.1-2ubuntu3 +1 more | 1.7.1-2ubuntu4+esm1 | Fixed |
| nlnetlabs ldns | = 1.7.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/ldns(Ubuntu:22.04) | < 1.7.1-2ubuntu4+esm1 | 1.7.1-2ubuntu4+esm1 |
| debian/ldns(Debian:12) | < 1.8.1-1 | 1.8.1-1 |
| debian/ldns(Debian:13) | < 1.8.1-1 | 1.8.1-1 |
| debian/ldns(Debian:14) | < 1.8.1-1 | 1.8.1-1 |
| nlnetlabs ldns | = 1.7.1 | No fix listed |
| ubuntu/ldns(Ubuntu:Pro:16.04) | < 1.6.17-8ubuntu0.1+esm1 | 1.6.17-8ubuntu0.1+esm1 |
| ubuntu/ldns(Ubuntu:Pro:16.04) | = 1.6.17-5 | No fix listed |
| ubuntu/ldns(Ubuntu:Pro:16.04) | = 1.6.17-7 | No fix listed |
| ubuntu/ldns(Ubuntu:Pro:16.04) | = 1.6.17-8 | No fix listed |
| ubuntu/ldns(Ubuntu:Pro:16.04) | = 1.6.17-8ubuntu0.1 | No fix listed |
| ubuntu/ldns(Ubuntu:18.04) | < 1.7.0-3ubuntu4.1 | 1.7.0-3ubuntu4.1 |
| ubuntu/ldns(Ubuntu:18.04) | = 1.7.0-1ubuntu1 | No fix listed |
| ubuntu/ldns(Ubuntu:18.04) | = 1.7.0-3ubuntu1 | No fix listed |
| ubuntu/ldns(Ubuntu:18.04) | = 1.7.0-3ubuntu2 | No fix listed |
| ubuntu/ldns(Ubuntu:18.04) | = 1.7.0-3ubuntu4 | No fix listed |
| ubuntu/ldns(Ubuntu:Pro:20.04) | < 1.7.0-4.1ubuntu1+esm1 | 1.7.0-4.1ubuntu1+esm1 |
| ubuntu/ldns(Ubuntu:Pro:20.04) | = 1.7.0-3ubuntu8 | No fix listed |
| ubuntu/ldns(Ubuntu:Pro:20.04) | = 1.7.0-4 | No fix listed |
| ubuntu/ldns(Ubuntu:Pro:20.04) | = 1.7.0-4ubuntu1 | No fix listed |
| ubuntu/ldns(Ubuntu:Pro:20.04) | = 1.7.0-4.1ubuntu1 | No fix listed |
| ubuntu/ldns(Ubuntu:Pro:22.04) | < 1.7.1-2ubuntu4+esm1 | 1.7.1-2ubuntu4+esm1 |
| ubuntu/ldns(Ubuntu:Pro:22.04) | = 1.7.1-2build1 | No fix listed |
| ubuntu/ldns(Ubuntu:Pro:22.04) | = 1.7.1-2ubuntu1 | No fix listed |
| ubuntu/ldns(Ubuntu:Pro:22.04) | = 1.7.1-2ubuntu3 | No fix listed |
| ubuntu/ldns(Ubuntu:Pro:22.04) | = 1.7.1-2ubuntu4 | No fix listed |
References
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-5257-1 vendor-advisory
- USN-5257-2 vendor-advisory
- www.cve.org issue-tracking
- Debian Security Tracker CVE-2020-19861 vendor-advisory
- cwe.mitre.org third-party-advisory
- github.com exploit issue-tracking third-party-advisory
- github.com issue-tracking