Double Free Affecting libpcap package, versions [,1.10.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-UNMANAGED-LIBPCAP-7856127
  • published 1 Sep 2024
  • disclosed 31 Aug 2024
  • credit Unknown

How to fix?

Upgrade libpcap to version 1.10.5 or higher.

Overview

Affected versions of this package are vulnerable to Double Free in the sock_initaddress() function, which calls getaddrinfo() and freeaddrinfo(), but does not clearly indicate to the caller function whether freeaddrinfo() still needs to be called after the function returns.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
6.7 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    None
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None