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
Upstream
Published
2024-04-10T00:15:00Z
Modified
2025-10-24T05:06:43Z
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
  • Ubuntu - medium
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:16.04:LTS

sngrep

Package

Name
sngrep
Purl
pkg:deb/ubuntu/sngrep@1.2.0-1build1?arch=source&distro=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

{
    "binaries": [
        {
            "binary_version": "1.2.0-1build1",
            "binary_name": "sngrep"
        }
    ]
}

Ubuntu:18.04:LTS

sngrep

Package

Name
sngrep
Purl
pkg:deb/ubuntu/sngrep@1.4.5-1?arch=source&distro=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

{
    "binaries": [
        {
            "binary_version": "1.4.5-1",
            "binary_name": "sngrep"
        }
    ]
}

Ubuntu:20.04:LTS

sngrep

Package

Name
sngrep
Purl
pkg:deb/ubuntu/sngrep@1.4.6-2?arch=source&distro=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

{
    "binaries": [
        {
            "binary_version": "1.4.6-2",
            "binary_name": "sngrep"
        }
    ]
}

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

{
    "binaries": [
        {
            "binary_version": "1.4.10-1ubuntu0.1",
            "binary_name": "sngrep"
        }
    ]
}

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

{
    "binaries": [
        {
            "binary_version": "1.8.0-1build2",
            "binary_name": "sngrep"
        }
    ]
}

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

{
    "binaries": [
        {
            "binary_version": "1.8.2-1",
            "binary_name": "sngrep"
        }
    ]
}

Ubuntu:25.10

sngrep

Package

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

Affected ranges

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

Affected versions

1.*

1.8.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.8.2-1",
            "binary_name": "sngrep"
        }
    ]
}