UBUNTU-CVE-2024-3119

Source
https://ubuntu.com/security/CVE-2024-3119
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-3119.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-3119
Related
Published
2024-04-10T00:15:00Z
Modified
2025-06-03T17:49:07Z
Severity
  • 9.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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 sipgetcallid and sipgetxcallid 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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / sngrep

Package

Name
sngrep
Purl
pkg:deb/ubuntu/sngrep@1.2.0-1build1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.4.1-1

1.*

1.0.0-1
1.1.0-1
1.2.0-1
1.2.0-1build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / sngrep

Package

Name
sngrep
Purl
pkg:deb/ubuntu/sngrep@1.4.5-1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.4.3-1
1.4.4-1
1.4.4-2
1.4.5-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:20.04:LTS / sngrep

Package

Name
sngrep
Purl
pkg:deb/ubuntu/sngrep@1.4.6-2?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.4.6-1
1.4.6-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / sngrep

Package

Name
sngrep
Purl
pkg:deb/ubuntu/sngrep@1.4.10-1ubuntu0.1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.4.9-1
1.4.10-1
1.4.10-1ubuntu0.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / sngrep

Package

Name
sngrep
Purl
pkg:deb/ubuntu/sngrep@1.8.2-1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.8.0-1build2
1.8.1-1
1.8.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / sngrep

Package

Name
sngrep
Purl
pkg:deb/ubuntu/sngrep@1.8.0-1build2?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.7.0-2
1.8.0-1
1.8.0-1build1
1.8.0-1build2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:25.04 / sngrep

Package

Name
sngrep
Purl
pkg:deb/ubuntu/sngrep@1.8.2-1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.8.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}