{"id":"CVE-2024-3119","summary":"Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep","details":"A buffer overflow vulnerability exists in all versions of sngrep since v0.4.2, due to improper handling of 'Call-ID' and 'X-Call-ID' SIP headers. The functions sip_get_callid and sip_get_xcallid in sip.c use the strncpy function to copy header contents into fixed-size buffers without checking the data length. This flaw allows remote attackers to execute arbitrary code or cause a denial of service (DoS) through specially crafted SIP messages.\n","modified":"2026-08-12T03:51:49.103841334Z","published":"2024-04-09T23:55:43.501Z","related":["openSUSE-SU-2024:0106-1","openSUSE-SU-2024:13856-1"],"database_specific":{"cwe_ids":["CWE-120"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3119.json","cna_assigner":"Pentraze"},"references":[{"type":"WEB","url":"https://github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365f"},{"type":"WEB","url":"https://github.com/irontec/sngrep/releases/tag/v1.8.1"},{"type":"WEB","url":"https://pentraze.com/vulnerability-reports/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3119.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3119"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/irontec/sngrep","events":[{"introduced":"ab1daebecd63acdcfc0339a66383d82d1105e79a"},{"fixed":"373abb90804ba71f980c7120e62f90d3a5c81213"}],"database_specific":{"cpe":"cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.4.2"},{"last_affected":"1.8.0"},{"fixed":"1.8.1"}],"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"]}}],"versions":["v1.8.0","v1.7.0","v1.6.0","v1.5.0","v1.4.10","v1.4.9","v1.4.8","v1.4.7","v1.4.6","v1.4.5","v1.4.4","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.3.1","v1.3.0","v1.2.0","v1.1.0","v1.0.0","v0.4.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-3119.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}