Heap-based Buffer Overflow Affecting sofia-sip package, versions <1.12.11+20110422.1-2.1+deb11u2


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.12% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-SOFIASIP-5603755
  • published27 May 2023
  • disclosed26 May 2023

Introduced: 26 May 2023

CVE-2023-32307  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Debian:11 sofia-sip to version 1.12.11+20110422.1-2.1+deb11u2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sofia-sip package and not the sofia-sip package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. Referring to GHSA-8599-x7rq-fr54, several other potential heap-over-flow and integer-overflow in stun_parse_attr_error_code and stun_parse_attr_uint32 were found because the lack of attributes length check when Sofia-SIP handles STUN packets. The previous patch of GHSA-8599-x7rq-fr54 fixed the vulnerability when attr_type did not match the enum value, but there are also vulnerabilities in the handling of other valid cases. The OOB read and integer-overflow made by attacker may lead to crash, high consumption of memory or even other more serious consequences. These issue have been addressed in version 1.13.15. Users are advised to upgrade.

CVSS Scores

version 3.1