{"id":"CVE-2024-3120","aliases":["CVE-2024-3120"],"related":[],"kind":"vulnerability","state":"published","title":"Stack-Buffer Overflow in 'Content-Length' and 'Warning' Header Processing in sngrep","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Existe una vulnerabilidad de desbordamiento de búfer en la región stack de la memoria en todas las versiones de sngrep desde la v1.4.1. La falla se debe a una verificación inadecuada de los límites al copiar los encabezados 'Content-Length' y 'Warning' en búferes de tamaño fijo en las funciones sip_validate_packet y sip_parse_extra_headers dentro de src/sip.c. Esta vulnerabilidad permite a atacantes remotos ejecutar código arbitrario o provocar una denegación de servicio (DoS) a través de mensajes SIP manipulados.","source":"nvd"}],"published":"2024-04-09T23:55:57.410Z","modified":"2026-06-17T07:43:21.050Z","severity":{"scorer":"Pentraze","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},"severities":[{"scorer":"Pentraze","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-120","CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"1.4.1","lastAffected":"1.8.0","status":"affected"}],"vendor":"irontec","product":"sngrep","platforms":["Linux"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1.4.1","lastAffected":"1.8.0","status":"affected"}],"vendor":"irontec","product":"sngrep","cpe":"cpe:2.3:a:irontec:sngrep:1.4.1:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"1.4.1","fixed":"1.8.1"}],"vendor":"irontec","product":"sngrep","cpe":"cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/irontec/sngrep/pull/480/commits/f229a5d31b0be6a6cc3ab4cd9bfa4a1b5c5714c6","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/irontec/sngrep/releases/tag/v1.8.1","tags":["release-notes","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://pentraze.com/vulnerability-reports/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Pentraze","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-04-11T17:09:06.528Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-3120","url":"https://www.cve.org/CVERecord?id=CVE-2024-3120","licence":"CVE Terms of Use","modified":"2025-02-21T17:07:41.626Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-3120","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3120","licence":"Public domain","modified":"2026-06-17T07:43:21.050Z"}],"updatedAt":"2026-11-25T22:58:39.011Z","epss":{"score":0.01838,"percentile":0.79573,"date":"2026-12-01T12:00:22.000Z"}}