CVE & CISA-KEV Catalog

CVE-2023-22741

CRITICALEPSS 82th pctl
9.8
CVSS v3
NVD

Description

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 stun_parse_attribute(), 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.

How to fix

Remediation Available
sofia-sipDebian
Fixed in:1.12.11+20110422.1-2.1+deb11u1CVE-2023-22741
Fixed in:1.12.11+20110422.1+1e14eea~dfsg-4CVE-2023-22741
Fixed in:1.12.11+20110422.1+1e14eea~dfsg-4CVE-2023-22741
Fixed in:1.12.11+20110422.1+1e14eea~dfsg-4CVE-2023-22741
libsofia-sip-ua-glib3Ubuntu
Fixed in:1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1USN-5932-1
Fixed in:1.12.11+20110422.1-2.1+deb10u3build0.18.04.1USN-5932-1
Fixed in:1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1USN-5932-1
Fixed in:1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1USN-5932-1
Fixed in:1.12.11+20110422.1+1e14eea~dfsg-3ubuntu0.1USN-5932-1
libsofia-sip-ua0Ubuntu
Fixed in:1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1USN-5932-1
Fixed in:1.12.11+20110422.1-2.1+deb10u3build0.18.04.1USN-5932-1
Fixed in:1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1USN-5932-1
Fixed in:1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1USN-5932-1
Fixed in:1.12.11+20110422.1+1e14eea~dfsg-3ubuntu0.1USN-5932-1
sofia-sipUbuntu
Fixed in:1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1USN-5932-1
Fixed in:1.12.11+20110422.1-2.1+deb10u3build0.18.04.1USN-5932-1
Fixed in:1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1USN-5932-1
Fixed in:1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1USN-5932-1
Fixed in:1.12.11+20110422.1+1e14eea~dfsg-3ubuntu0.1USN-5932-1
sofia-sip-binUbuntu
Fixed in:1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1USN-5932-1
Fixed in:1.12.11+20110422.1-2.1+deb10u3build0.18.04.1USN-5932-1
Fixed in:1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1USN-5932-1
Fixed in:1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1USN-5932-1
Fixed in:1.12.11+20110422.1+1e14eea~dfsg-3ubuntu0.1USN-5932-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

2.38%probability of exploitation in 30 days
82ndpercentile

Elevated risk: more likely to be exploited than 82% of all known CVEs.

References

Other references1

Related Vulnerabilities

Other CWE-120 (Classic Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2014-0195Medium6.8100%-Fix
CVE-2017-7269Critical9.8100%KEV-
CVE-2019-11043High8.799%KEV + RansomFix
CVE-2011-4862High10.095%-Fix
CVE-2007-5659High7.894%KEVFix
CVE-2022-3786High7.591%-Fix
Embed a live status badge for CVE-2023-22741
CVE-2023-22741 severity badge

Markdown

[![CVE-2023-22741](https://tridentstack.com/cve/badge/CVE-2023-22741.svg)](https://tridentstack.com/cve/CVE-2023-22741)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-22741"><img src="https://tridentstack.com/cve/badge/CVE-2023-22741.svg" alt="CVE-2023-22741"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.