CVE-2023-31981 Memory corruption in n/a
A stack buffer overflow in Sngrep allows attackers to execute arbitrary code or cause a denial of service via crafted packets.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-31981?
CVE-2023-31981 is a high-severity memory corruption vulnerability in n/a, published on 9 May 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Sngrep v1.6.0 was discovered to contain a stack buffer overflow via the function packet_set_payload at /src/packet.c.
Weakness: CWE-787
Which versions are affected by CVE-2023-31981?
It affects 1 product.
Products include Irontec Sngrep.
How do I fix CVE-2023-31981?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-31981 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-31981 exists.
Other vulnerabilities in n/a
- CVE-2024-3119 Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep
- CVE-2024-3120 Stack-Buffer Overflow in 'Content-Length' and 'Warning' Header Processing in sngrep
- CVE-2023-36192 Memory corruption in n/a
- CVE-2023-31982 Memory corruption in n/a
- CVE-2024-35434 Memory corruption in n/a
Sources
Also known as DEBIAN-CVE-2023-31981, GHSA-27pq-ccjc-wxmc, UBUNTU-CVE-2023-31981.