ubuntu-cve-2024-3119
Vulnerability from osv_ubuntu
Published
2024-04-10 00:15
Modified
2026-05-20 15:07
Summary
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.
Severity
9.0 (Critical)
9.8 (Critical)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sngrep",
"binary_version": "1.2.0-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "sngrep",
"purl": "pkg:deb/ubuntu/sngrep@1.2.0-1build1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.4.1-1",
"1.0.0-1",
"1.1.0-1",
"1.2.0-1",
"1.2.0-1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sngrep",
"binary_version": "1.4.5-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "sngrep",
"purl": "pkg:deb/ubuntu/sngrep@1.4.5-1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.4.3-1",
"1.4.4-1",
"1.4.4-2",
"1.4.5-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sngrep",
"binary_version": "1.4.6-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "sngrep",
"purl": "pkg:deb/ubuntu/sngrep@1.4.6-2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.4.6-1",
"1.4.6-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sngrep",
"binary_version": "1.4.10-1ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "sngrep",
"purl": "pkg:deb/ubuntu/sngrep@1.4.10-1ubuntu0.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.4.9-1",
"1.4.10-1",
"1.4.10-1ubuntu0.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sngrep",
"binary_version": "1.8.0-1build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "sngrep",
"purl": "pkg:deb/ubuntu/sngrep@1.8.0-1build2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.7.0-2",
"1.8.0-1",
"1.8.0-1build1",
"1.8.0-1build2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sngrep",
"binary_version": "1.8.2-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "sngrep",
"purl": "pkg:deb/ubuntu/sngrep@1.8.2-1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.8.2-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sngrep",
"binary_version": "1.8.3-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "sngrep",
"purl": "pkg:deb/ubuntu/sngrep@1.8.3-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.8.2-1",
"1.8.3-1"
]
}
],
"aliases": [],
"details": "A buffer overflow vulnerability exists in all versions of sngrep since v0.4.2, due to improper handling of \u0027Call-ID\u0027 and \u0027X-Call-ID\u0027 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.",
"id": "UBUNTU-CVE-2024-3119",
"modified": "2026-05-20T15:07:25Z",
"published": "2024-04-10T00:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-3119"
},
{
"type": "REPORT",
"url": "https://github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365f"
},
{
"type": "REPORT",
"url": "https://github.com/irontec/sngrep/releases/tag/v1.8.1"
},
{
"type": "REPORT",
"url": "https://pentraze.com/vulnerability-reports/"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-3119"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2024-3119"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…