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

UBUNTU-CVE-2024-8006

Vulnerability from osv_ubuntu – Published: 2024-08-31 00:15 – Updated: 2024-08-31 00:15 – Source website
Withdrawn 2025-06-23 VLAI
Details

Remote packet capture support is disabled by default in libpcap. When a user builds libpcap with remote packet capture support enabled, one of the functions that become available is pcap_findalldevs_ex(). One of the function arguments can be a filesystem path, which normally means a directory with input data files. When the specified path cannot be used as a directory, the function receives NULL from opendir(), but does not check the return value and passes the NULL value to readdir(), which causes a NULL pointer derefence.


{
  "affected": [
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "libpcap"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.4.0-2",
        "1.5.1-1",
        "1.5.2-1",
        "1.5.3-1",
        "1.5.3-2",
        "1.5.3-2ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "libpcap"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.7.4-1",
        "1.7.4-2",
        "1.7.4-2ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "libpcap"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.8.1-5ubuntu1",
        "1.8.1-6ubuntu1",
        "1.8.1-6ubuntu1.18.04.1",
        "1.8.1-6ubuntu1.18.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "libpcap"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.9.1-2",
        "1.9.1-3"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "libpcap"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.10.0-2build1",
        "1.10.1-4",
        "1.10.1-4build1"
      ]
    },
    {
      "ecosystem_specific": {
        "ubuntu_priority": "medium"
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "libpcap"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.10.4-4",
        "1.10.4-4ubuntu3",
        "1.10.4-4.1ubuntu2",
        "1.10.4-4.1ubuntu3"
      ]
    }
  ],
  "aliases": [],
  "details": "Remote packet capture support is disabled by default in libpcap.  When a user builds libpcap with remote packet capture support enabled, one of the functions that become available is pcap_findalldevs_ex().  One of the function arguments can be a filesystem path, which normally means a directory with input data files.  When the specified path cannot be used as a directory, the function receives NULL from opendir(), but does not check the return value and passes the NULL value to readdir(), which causes a NULL pointer derefence.",
  "id": "UBUNTU-CVE-2024-8006",
  "modified": "2024-08-31T00:15:00Z",
  "published": "2024-08-31T00:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-8006"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-8006"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/the-tcpdump-group/libpcap/commit/0f8a103469ce87d2b8d68c5130a46ddb7fb5eb29"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/the-tcpdump-group/libpcap/commit/8a633ee5b9ecd9d38a587ac9b204e2380713b0d6"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/the-tcpdump-group/libpcap/commit/0f8a103469ce87d2b8d68c5130a46ddb7fb5eb29"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/the-tcpdump-group/libpcap/commit/8a633ee5b9ecd9d38a587ac9b204e2380713b0d6"
    }
  ],
  "related": [
    "CVE-2024-8006"
  ],
  "schema_version": "1.6.3",
  "withdrawn": "2025-06-23T15:57:34Z"
}



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…