GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

UBUNTU-CVE-2020-25683 (CVE-2020-25683)

Vulnerability from osv_ubuntu – Published: 2021-01-19 00:00 – Updated: 2026-05-26 19:47 – Source website
VLAI
Details

A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in dnsmasq when DNSSEC is enabled and before it validates the received DNS entries. A remote attacker, who can create valid DNS replies, could use this flaw to cause an overflow in a heap-allocated memory. This flaw is caused by the lack of length checks in rfc1035.c:extract_name(), which could be abused to make the code execute memcpy() with a negative size in get_rdata() and cause a crash in dnsmasq, resulting in a denial of service. The highest threat from this vulnerability is to system availability.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "dnsmasq",
            "binary_version": "2.68-1ubuntu0.2+esm6"
          },
          {
            "binary_name": "dnsmasq-base",
            "binary_version": "2.68-1ubuntu0.2+esm6"
          },
          {
            "binary_name": "dnsmasq-utils",
            "binary_version": "2.68-1ubuntu0.2+esm6"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "dnsmasq",
        "purl": "pkg:deb/ubuntu/dnsmasq@2.68-1ubuntu0.2+esm6?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.66-4ubuntu1",
        "2.67-1",
        "2.68-1",
        "2.68-1ubuntu0.1",
        "2.68-1ubuntu0.2",
        "2.68-1ubuntu0.2+esm1",
        "2.68-1ubuntu0.2+esm2",
        "2.68-1ubuntu0.2+esm3",
        "2.68-1ubuntu0.2+esm5",
        "2.68-1ubuntu0.2+esm6"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "dnsmasq",
            "binary_version": "2.75-1ubuntu0.16.04.7"
          },
          {
            "binary_name": "dnsmasq-base",
            "binary_version": "2.75-1ubuntu0.16.04.7"
          },
          {
            "binary_name": "dnsmasq-utils",
            "binary_version": "2.75-1ubuntu0.16.04.7"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "dnsmasq",
        "purl": "pkg:deb/ubuntu/dnsmasq@2.75-1ubuntu0.16.04.7?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.75-1ubuntu0.16.04.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.75-1",
        "2.75-1ubuntu0.16.04.1",
        "2.75-1ubuntu0.16.04.2",
        "2.75-1ubuntu0.16.04.3",
        "2.75-1ubuntu0.16.04.4",
        "2.75-1ubuntu0.16.04.5"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "dnsmasq",
            "binary_version": "2.79-1ubuntu0.2"
          },
          {
            "binary_name": "dnsmasq-base",
            "binary_version": "2.79-1ubuntu0.2"
          },
          {
            "binary_name": "dnsmasq-base-lua",
            "binary_version": "2.79-1ubuntu0.2"
          },
          {
            "binary_name": "dnsmasq-utils",
            "binary_version": "2.79-1ubuntu0.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "dnsmasq",
        "purl": "pkg:deb/ubuntu/dnsmasq@2.79-1ubuntu0.2?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.79-1ubuntu0.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.78-1",
        "2.78-3",
        "2.79-1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "dnsmasq",
            "binary_version": "2.80-1.1ubuntu1.2"
          },
          {
            "binary_name": "dnsmasq-base",
            "binary_version": "2.80-1.1ubuntu1.2"
          },
          {
            "binary_name": "dnsmasq-base-lua",
            "binary_version": "2.80-1.1ubuntu1.2"
          },
          {
            "binary_name": "dnsmasq-utils",
            "binary_version": "2.80-1.1ubuntu1.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "dnsmasq",
        "purl": "pkg:deb/ubuntu/dnsmasq@2.80-1.1ubuntu1.2?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.80-1.1ubuntu1.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.80-1ubuntu2",
        "2.80-1ubuntu4",
        "2.80-1.1ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in dnsmasq when DNSSEC is enabled and before it validates the received DNS entries. A remote attacker, who can create valid DNS replies, could use this flaw to cause an overflow in a heap-allocated memory. This flaw is caused by the lack of length checks in rfc1035.c:extract_name(), which could be abused to make the code execute memcpy() with a negative size in get_rdata() and cause a crash in dnsmasq, resulting in a denial of service. The highest threat from this vulnerability is to system availability.",
  "id": "UBUNTU-CVE-2020-25683",
  "modified": "2026-05-26T19:47:00Z",
  "published": "2021-01-19T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2020-25683"
    },
    {
      "type": "REPORT",
      "url": "https://www.jsof-tech.com/disclosures/dnspooq/"
    },
    {
      "type": "REPORT",
      "url": "http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q1/014599.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-4698-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2020-25683"
    }
  ],
  "related": [
    "USN-4698-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2020-25683"
  ]
}



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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…