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

OESA-2024-2180 (CVE-2023-7256)

Vulnerability from osv_openeuler – Published: 2024-09-27 11:07 – Updated: 2026-08-06 11:07 – Source website
VLAI
Summary
libpcap security update
Details

This is the official web site of tcpdump, a powerful command-line packet analyzer; and libpcap, a portable C/C++ library for network traffic capture.

Security Fix(es):

In affected libpcap versions during the setup of a remote packet capture the internal function sock_initaddress() calls getaddrinfo() and possibly freeaddrinfo(), but does not clearly indicate to the caller function whether freeaddrinfo() still remains to be called after the function returns. This makes it possible in some scenarios that both the function and its caller call freeaddrinfo() for the same allocated memory block. A similar problem was reported in Apple libpcap, to which Apple assigned CVE-2023-40400.(CVE-2023-7256)

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.(CVE-2024-8006)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "libpcap-1.10.1-4.oe2203sp1.aarch64.rpm",
          "libpcap-debuginfo-1.10.1-4.oe2203sp1.aarch64.rpm",
          "libpcap-debugsource-1.10.1-4.oe2203sp1.aarch64.rpm",
          "libpcap-devel-1.10.1-4.oe2203sp1.aarch64.rpm"
        ],
        "noarch": [
          "libpcap-help-1.10.1-4.oe2203sp1.noarch.rpm"
        ],
        "src": [
          "libpcap-1.10.1-4.oe2203sp1.src.rpm"
        ],
        "x86_64": [
          "libpcap-1.10.1-4.oe2203sp1.x86_64.rpm",
          "libpcap-debuginfo-1.10.1-4.oe2203sp1.x86_64.rpm",
          "libpcap-debugsource-1.10.1-4.oe2203sp1.x86_64.rpm",
          "libpcap-devel-1.10.1-4.oe2203sp1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP1",
        "name": "libpcap",
        "purl": "pkg:rpm/openEuler/libpcap\u0026distro=openEuler-22.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.10.1-4.oe2203sp1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "libpcap-1.10.4-2.oe2403.aarch64.rpm",
          "libpcap-debuginfo-1.10.4-2.oe2403.aarch64.rpm",
          "libpcap-debugsource-1.10.4-2.oe2403.aarch64.rpm",
          "libpcap-devel-1.10.4-2.oe2403.aarch64.rpm"
        ],
        "noarch": [
          "libpcap-help-1.10.4-2.oe2403.noarch.rpm"
        ],
        "src": [
          "libpcap-1.10.4-2.oe2403.src.rpm"
        ],
        "x86_64": [
          "libpcap-1.10.4-2.oe2403.x86_64.rpm",
          "libpcap-debuginfo-1.10.4-2.oe2403.x86_64.rpm",
          "libpcap-debugsource-1.10.4-2.oe2403.x86_64.rpm",
          "libpcap-devel-1.10.4-2.oe2403.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS",
        "name": "libpcap",
        "purl": "pkg:rpm/openEuler/libpcap\u0026distro=openEuler-24.03-LTS"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.10.4-2.oe2403"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "libpcap-1.10.3-2.oe2203sp4.aarch64.rpm",
          "libpcap-debuginfo-1.10.3-2.oe2203sp4.aarch64.rpm",
          "libpcap-debugsource-1.10.3-2.oe2203sp4.aarch64.rpm",
          "libpcap-devel-1.10.3-2.oe2203sp4.aarch64.rpm"
        ],
        "noarch": [
          "libpcap-help-1.10.3-2.oe2203sp4.noarch.rpm"
        ],
        "src": [
          "libpcap-1.10.3-2.oe2203sp4.src.rpm"
        ],
        "x86_64": [
          "libpcap-1.10.3-2.oe2203sp4.x86_64.rpm",
          "libpcap-debuginfo-1.10.3-2.oe2203sp4.x86_64.rpm",
          "libpcap-debugsource-1.10.3-2.oe2203sp4.x86_64.rpm",
          "libpcap-devel-1.10.3-2.oe2203sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP4",
        "name": "libpcap",
        "purl": "pkg:rpm/openEuler/libpcap\u0026distro=openEuler-22.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.10.3-2.oe2203sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "libpcap-1.10.3-2.oe2203sp3.aarch64.rpm",
          "libpcap-debuginfo-1.10.3-2.oe2203sp3.aarch64.rpm",
          "libpcap-debugsource-1.10.3-2.oe2203sp3.aarch64.rpm",
          "libpcap-devel-1.10.3-2.oe2203sp3.aarch64.rpm"
        ],
        "noarch": [
          "libpcap-help-1.10.3-2.oe2203sp3.noarch.rpm"
        ],
        "src": [
          "libpcap-1.10.3-2.oe2203sp3.src.rpm"
        ],
        "x86_64": [
          "libpcap-1.10.3-2.oe2203sp3.x86_64.rpm",
          "libpcap-debuginfo-1.10.3-2.oe2203sp3.x86_64.rpm",
          "libpcap-debugsource-1.10.3-2.oe2203sp3.x86_64.rpm",
          "libpcap-devel-1.10.3-2.oe2203sp3.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP3",
        "name": "libpcap",
        "purl": "pkg:rpm/openEuler/libpcap\u0026distro=openEuler-22.03-LTS-SP3"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.10.3-2.oe2203sp3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "libpcap-1.9.1-7.oe2003sp4.aarch64.rpm",
          "libpcap-debuginfo-1.9.1-7.oe2003sp4.aarch64.rpm",
          "libpcap-debugsource-1.9.1-7.oe2003sp4.aarch64.rpm",
          "libpcap-devel-1.9.1-7.oe2003sp4.aarch64.rpm"
        ],
        "noarch": [
          "libpcap-help-1.9.1-7.oe2003sp4.noarch.rpm"
        ],
        "src": [
          "libpcap-1.9.1-7.oe2003sp4.src.rpm"
        ],
        "x86_64": [
          "libpcap-1.9.1-7.oe2003sp4.x86_64.rpm",
          "libpcap-debuginfo-1.9.1-7.oe2003sp4.x86_64.rpm",
          "libpcap-debugsource-1.9.1-7.oe2003sp4.x86_64.rpm",
          "libpcap-devel-1.9.1-7.oe2003sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP4",
        "name": "libpcap",
        "purl": "pkg:rpm/openEuler/libpcap\u0026distro=openEuler-20.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.9.1-7.oe2003sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "Medium"
  },
  "details": "This is the official web site of tcpdump, a powerful command-line  packet analyzer; and libpcap, a portable C/C++ library for  network traffic capture.\n\nSecurity Fix(es):\n\nIn affected libpcap versions during the setup of a remote packet capture the internal function sock_initaddress() calls getaddrinfo() and possibly freeaddrinfo(), but does not clearly indicate to the caller function whether freeaddrinfo() still remains to be called after the function returns.  This makes it possible in some scenarios that both the function and its caller call freeaddrinfo() for the same allocated memory block.  A similar problem was reported in Apple libpcap, to which Apple assigned CVE-2023-40400.(CVE-2023-7256)\n\nRemote 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.(CVE-2024-8006)",
  "id": "OESA-2024-2180",
  "modified": "2026-08-06T11:07:39Z",
  "published": "2024-09-27T11:07:39Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2024-2180"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-7256"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-8006"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "libpcap security update",
  "upstream": [
    "CVE-2023-7256",
    "CVE-2024-8006"
  ]
}



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…