CVE-2024-3119

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:*

History

03 Feb 2025, 17:43

Type Values Removed Values Added
References () https://github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365f - () https://github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365f - Patch
References () https://github.com/irontec/sngrep/releases/tag/v1.8.1 - () https://github.com/irontec/sngrep/releases/tag/v1.8.1 - Release Notes
References () https://pentraze.com/vulnerability-reports/ - () https://pentraze.com/vulnerability-reports/ - Third Party Advisory
First Time Irontec
Irontec sngrep
CPE cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:*
CWE CWE-787

21 Nov 2024, 09:28

Type Values Removed Values Added
References () https://github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365f - () https://github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365f -
References () https://github.com/irontec/sngrep/releases/tag/v1.8.1 - () https://github.com/irontec/sngrep/releases/tag/v1.8.1 -
References () https://pentraze.com/vulnerability-reports/ - () https://pentraze.com/vulnerability-reports/ -

10 Apr 2024, 00:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-04-10 00:15

Updated : 2025-02-03 17:43


NVD link : CVE-2024-3119

Mitre link : CVE-2024-3119

CVE.ORG link : CVE-2024-3119


JSON object : View

Products Affected

irontec

  • sngrep
CWE
CWE-120

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

CWE-787

Out-of-bounds Write