Skip to content
OpenAdvisories
High · 7.5 CVE-2023-32307 EUVD-2023-36559

heap-over-flow and integer-overflow in sofia-sip

Published May 26, 2023 · Updated Feb 13, 2025 · Assigned by GitHub_M

Description

Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification.
Referring to [GHSA-8599-x7rq-fr54](https://github.com/freeswitch/sofia-sip/security/advisories/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](https://github.com/freeswitch/sofia-sip/security/advisories/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.

Affected products

VendorProductAffectedFixed
freeswitch sofia-sip < 1.13.15 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sofia-sip 1.12.11+20110422.1+1e14eea~dfsg-6 —
Debian 13 sofia-sip 1.12.11+20110422.1+1e14eea~dfsg-6 —
Debian 12 sofia-sip 1.12.11+20110422.1+1e14eea~dfsg-6 —
Debian 11 sofia-sip 1.12.11+20110422.1-2.1+deb11u2 DSA-5431-1
Debian 10 sofia-sip 1.12.11+20110422.1-2.1+deb10u4 DLA-3441-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS sofia-sip 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.2 USN-6448-1
Ubuntu 20.04 LTS sofia-sip 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.2 USN-6448-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS sofia-sip 1.12.11+20110422.1-2.1+deb10u3ubuntu0.18.04.1~esm1 USN-6448-1
Ubuntu Pro 16.04 LTS sofia-sip 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm2 USN-6448-1

Advisories 3

References