UBUNTU-CVE-2023-22741

Source
https://ubuntu.com/security/CVE-2023-22741
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-22741.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2023-22741
Related
Published
2023-01-19T22:15:00Z
Modified
2023-01-19T22:15:00Z
Severity
  • 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

Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. In affected versions Sofia-SIP lacks both message length and attributes length checks when it handles STUN packets, leading to controllable heap-over-flow. For example, in stunparseattribute(), after we get the attribute's type and length value, the length will be used directly to copy from the heap, regardless of the message's left size. Since network users control the overflowed length, and the data is written to heap chunks later, attackers may achieve remote code execution by heap grooming or other exploitation methods. The bug was introduced 16 years ago in sofia-sip 1.12.4 (plus some patches through 12/21/2006) to in tree libs with git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3774 d0543943-73ff-0310-b7d9-9358b9ac24b2. Users are advised to upgrade. There are no known workarounds for this vulnerability.

References

Affected packages

Ubuntu:Pro:16.04:LTS / sofia-sip

Package

Name
sofia-sip
Purl
pkg:deb/ubuntu/sofia-sip?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1

Affected versions

1.*

1.12.11+20110422.1-2ubuntu1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1",
            "binary_name": "libsofia-sip-ua-dev"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1",
            "binary_name": "libsofia-sip-ua-glib-dev"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1",
            "binary_name": "libsofia-sip-ua-glib3"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1",
            "binary_name": "libsofia-sip-ua-glib3-dbgsym"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1",
            "binary_name": "libsofia-sip-ua0"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1",
            "binary_name": "libsofia-sip-ua0-dbgsym"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1",
            "binary_name": "sofia-sip-bin"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1",
            "binary_name": "sofia-sip-bin-dbgsym"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1",
            "binary_name": "sofia-sip-doc"
        }
    ]
}

Ubuntu:18.04:LTS / sofia-sip

Package

Name
sofia-sip
Purl
pkg:deb/ubuntu/sofia-sip?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12.11+20110422.1-2.1+deb10u3build0.18.04.1

Affected versions

1.*

1.12.11+20110422.1-2.1
1.12.11+20110422.1-2.1build1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3build0.18.04.1",
            "binary_name": "libsofia-sip-ua-dev"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3build0.18.04.1",
            "binary_name": "libsofia-sip-ua-glib-dev"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3build0.18.04.1",
            "binary_name": "libsofia-sip-ua-glib3"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3build0.18.04.1",
            "binary_name": "libsofia-sip-ua-glib3-dbgsym"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3build0.18.04.1",
            "binary_name": "libsofia-sip-ua0"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3build0.18.04.1",
            "binary_name": "libsofia-sip-ua0-dbgsym"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3build0.18.04.1",
            "binary_name": "sofia-sip-bin"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3build0.18.04.1",
            "binary_name": "sofia-sip-bin-dbgsym"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3build0.18.04.1",
            "binary_name": "sofia-sip-doc"
        }
    ]
}

Ubuntu:20.04:LTS / sofia-sip

Package

Name
sofia-sip
Purl
pkg:deb/ubuntu/sofia-sip?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1

Affected versions

1.*

1.12.11+20110422.1-2.1build1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1",
            "binary_name": "libsofia-sip-ua-dev"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1",
            "binary_name": "libsofia-sip-ua-glib-dev"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1",
            "binary_name": "libsofia-sip-ua-glib3"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1",
            "binary_name": "libsofia-sip-ua-glib3-dbgsym"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1",
            "binary_name": "libsofia-sip-ua0"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1",
            "binary_name": "libsofia-sip-ua0-dbgsym"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1",
            "binary_name": "sofia-sip-bin"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1",
            "binary_name": "sofia-sip-bin-dbgsym"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1",
            "binary_name": "sofia-sip-doc"
        }
    ]
}

Ubuntu:22.04:LTS / sofia-sip

Package

Name
sofia-sip
Purl
pkg:deb/ubuntu/sofia-sip?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1

Affected versions

1.*

1.12.11+20110422.1-2.1ubuntu1
1.12.11+20110422.1-2.1ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1",
            "binary_name": "libsofia-sip-ua-dev"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1",
            "binary_name": "libsofia-sip-ua-glib-dev"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1",
            "binary_name": "libsofia-sip-ua-glib3"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1",
            "binary_name": "libsofia-sip-ua-glib3-dbgsym"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1",
            "binary_name": "libsofia-sip-ua0"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1",
            "binary_name": "libsofia-sip-ua0-dbgsym"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1",
            "binary_name": "sofia-sip-bin"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1",
            "binary_name": "sofia-sip-bin-dbgsym"
        },
        {
            "binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1",
            "binary_name": "sofia-sip-doc"
        }
    ]
}