ubuntu-cve-2020-19861
Vulnerability from osv_ubuntu
Published
2022-01-21 15:15
Modified
2026-04-22 07:39
Summary
Details

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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "ldnsutils",
            "binary_version": "1.6.17-8ubuntu0.1+esm1"
          },
          {
            "binary_name": "libldns1",
            "binary_version": "1.6.17-8ubuntu0.1+esm1"
          },
          {
            "binary_name": "python-ldns",
            "binary_version": "1.6.17-8ubuntu0.1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "ldns",
        "purl": "pkg:deb/ubuntu/ldns@1.6.17-8ubuntu0.1+esm1?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.6.17-8ubuntu0.1+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6.17-5",
        "1.6.17-7",
        "1.6.17-8",
        "1.6.17-8ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ldnsutils",
            "binary_version": "1.7.0-3ubuntu4.1"
          },
          {
            "binary_name": "libldns2",
            "binary_version": "1.7.0-3ubuntu4.1"
          },
          {
            "binary_name": "python-ldns",
            "binary_version": "1.7.0-3ubuntu4.1"
          },
          {
            "binary_name": "python3-ldns",
            "binary_version": "1.7.0-3ubuntu4.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "ldns",
        "purl": "pkg:deb/ubuntu/ldns@1.7.0-3ubuntu4.1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.7.0-3ubuntu4.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.7.0-1ubuntu1",
        "1.7.0-3ubuntu1",
        "1.7.0-3ubuntu2",
        "1.7.0-3ubuntu4"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "ldnsutils",
            "binary_version": "1.7.0-4.1ubuntu1+esm1"
          },
          {
            "binary_name": "libldns2",
            "binary_version": "1.7.0-4.1ubuntu1+esm1"
          },
          {
            "binary_name": "python-ldns",
            "binary_version": "1.7.0-4.1ubuntu1+esm1"
          },
          {
            "binary_name": "python3-ldns",
            "binary_version": "1.7.0-4.1ubuntu1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "ldns",
        "purl": "pkg:deb/ubuntu/ldns@1.7.0-4.1ubuntu1+esm1?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.7.0-4.1ubuntu1+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.7.0-3ubuntu8",
        "1.7.0-4",
        "1.7.0-4ubuntu1",
        "1.7.0-4.1ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "ldnsutils",
            "binary_version": "1.7.1-2ubuntu4+esm1"
          },
          {
            "binary_name": "libldns3",
            "binary_version": "1.7.1-2ubuntu4+esm1"
          },
          {
            "binary_name": "python3-ldns",
            "binary_version": "1.7.1-2ubuntu4+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "ldns",
        "purl": "pkg:deb/ubuntu/ldns@1.7.1-2ubuntu4+esm1?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.7.1-2ubuntu4+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.7.1-2build1",
        "1.7.1-2ubuntu1",
        "1.7.1-2ubuntu3",
        "1.7.1-2ubuntu4"
      ]
    }
  ],
  "aliases": [],
  "details": "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.",
  "id": "UBUNTU-CVE-2020-19861",
  "modified": "2026-04-22T07:39:29Z",
  "published": "2022-01-21T15:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2020-19861"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/NLnetLabs/ldns/issues/51"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/NLnetLabs/ldns/commit/136ec420437041fe13f344a2053e774f9050cc38"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5257-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5257-2"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2020-19861"
    }
  ],
  "related": [
    "USN-5257-1",
    "USN-5257-2"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2020-19861"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…