Vulnerability · Published May 9, 2023 · Assigned by mitre

CVE-2023-31981

High 7.8

In plain English

A high-severity out-of-bounds write in the sngrep package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.3%top 76.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Sngrep v1.6.0 was discovered to contain a stack buffer overflow via the function packet_set_payload at /src/packet.c.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12sngrepno fix listedDEBIAN-CVE-2023-31981
Debian:13sngrep1.7.0-1DEBIAN-CVE-2023-31981
Debian:14sngrep1.7.0-1DEBIAN-CVE-2023-31981
Ubuntu:22.04:LTSsngrepno fix listedUBUNTU-CVE-2023-31981

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References