{ "id": "CVE-2024-3119", "sourceIdentifier": "41c37e40-543d-43a2-b660-2fee83ea851a", "published": "2024-04-10T00:15:12.107", "lastModified": "2024-04-10T13:23:38.787", "vulnStatus": "Awaiting Analysis", "descriptions": [ { "lang": "en", "value": "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" }, { "lang": "es", "value": "Existe una vulnerabilidad de desbordamiento del b\u00fafer en todas las versiones de sngrep desde la v0.4.2, debido al manejo inadecuado de los encabezados SIP 'Call-ID' y 'X-Call-ID'. Las funciones sip_get_callid y sip_get_xcallid en sip.c usan la funci\u00f3n strncpy para copiar el contenido del encabezado en buffers de tama\u00f1o fijo sin verificar la longitud de los datos. Esta falla permite a atacantes remotos ejecutar c\u00f3digo arbitrario o provocar una denegaci\u00f3n de servicio (DoS) a trav\u00e9s de mensajes SIP especialmente manipulados." } ], "metrics": { "cvssMetricV31": [ { "source": "41c37e40-543d-43a2-b660-2fee83ea851a", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.0, "baseSeverity": "CRITICAL" }, "exploitabilityScore": 2.2, "impactScore": 6.0 } ] }, "weaknesses": [ { "source": "41c37e40-543d-43a2-b660-2fee83ea851a", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-120" } ] } ], "references": [ { "url": "https://github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365f", "source": "41c37e40-543d-43a2-b660-2fee83ea851a" }, { "url": "https://github.com/irontec/sngrep/releases/tag/v1.8.1", "source": "41c37e40-543d-43a2-b660-2fee83ea851a" }, { "url": "https://pentraze.com/vulnerability-reports/", "source": "41c37e40-543d-43a2-b660-2fee83ea851a" } ] }