Vulnerability · Published May 9, 2023 · Assigned by mitre
CVE-2023-31982
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.1% 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 heap buffer overflow via the function capture_packet_reasm_ip at /src/capture.c.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | sngrep | no fix listed | DEBIAN-CVE-2023-31982 |
| Debian:13 | sngrep | 1.7.0-1 | DEBIAN-CVE-2023-31982 |
| Debian:14 | sngrep | 1.7.0-1 | DEBIAN-CVE-2023-31982 |
| Ubuntu:22.04:LTS | sngrep | no fix listed | UBUNTU-CVE-2023-31982 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H