SecurityContext

CVE-2020-19861: ldns - Heap Overflow

  • Cve: CVE-2020-19861
  • Name: ldns - Heap Overflow
  • 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.
  • Impact: Attackers can cause heap overflow leading to information leakage or potential arbitrary code execution.
  • Remediation: Update to the latest version of ldns where this issue is fixed or apply relevant patches.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.01542
  • Epss percentile: 0.75601
  • Assignee: [email protected]
  • Published at: 2022-01-21T15:15:07Z
  • Age in days: 1768
  • Modified at: 2026-06-17T02:59:59Z
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-19861
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-125Out-of-bounds Read

Public exploits

UrlSourceAdded date
https://github.com/NLnetLabs/ldns/issues/51nvd2022-01-21

References

UrlSourceTags
https://github.com/NLnetLabs/ldns/issues/51nvdExploit, Issue Tracking, Third Party Advisory
https://cwe.mitre.org/data/definitions/126.htmlnvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
nlnetlabs:ldns= 1.7.1nonvd/v1/products/nlnetlabs/ldns

Projects

RepositoryLink kindsIndexedUrl
NLnetLabs/ldnsissuesyes/v1/repositories/NLnetLabs/ldns

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-01-21
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts