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.
{
"cna_assigner": "Pentraze",
"cwe_ids": [
"CWE-120"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3120.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.4.1"
},
{
"fixed": "1.8.1"
}
],
"source": "CPE_RANGE"
},
{
"original_tag": "v1.8.1",
"range": [
{
"fixed": "373abb90804ba71f980c7120e62f90d3a5c81213"
}
],
"source": "REFERENCES_TAG"
}
]
}