CVE-2024-3120
A stack-buffer overflow vulnerability exists in all versions of sngrep since v1.4.1.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.85%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
A stack-buffer overflow vulnerability exists in all versions of sngrep since v1.4.1. The flaw is due to inadequate bounds checking when copying 'Content-Length' and 'Warning' headers into fixed-size buffers in the sip_validate_packet and sip_parse_extra_headers functions within src/sip.c. This vulnerability allows remote attackers to execute arbitrary code or cause a denial of service (DoS) via crafted SIP messages.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.85% probability · 78th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-120, CWE-787
- Affected
- irontec/sngrep
- Source
- 41c37e40-543d-43a2-b660-2fee83ea851a
References
- https://github.com/irontec/sngrep/pull/480/commits/f229a5d31b0be6a6cc3ab4cd9bfa4a1b5c5714c6Patch
- https://github.com/irontec/sngrep/releases/tag/v1.8.1Release Notes
- https://pentraze.com/vulnerability-reports/Third Party Advisory
- https://github.com/irontec/sngrep/pull/480/commits/f229a5d31b0be6a6cc3ab4cd9bfa4a1b5c5714c6Patch
- https://github.com/irontec/sngrep/releases/tag/v1.8.1Release Notes
- https://pentraze.com/vulnerability-reports/Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.