First published: Fri May 26 2023(Updated: )
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.
Credit: security-advisories@github.com security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
ubuntu/sofia-sip | <1.12.11+20110422.1+1 | 1.12.11+20110422.1+1 |
ubuntu/sofia-sip | <1.12.11+20110422.1-2.1+ | 1.12.11+20110422.1-2.1+ |
ubuntu/sofia-sip | <1.12.11+20110422.1-2.1+ | 1.12.11+20110422.1-2.1+ |
ubuntu/sofia-sip | <1.12.11+20110422.1-2.1+ | 1.12.11+20110422.1-2.1+ |
ubuntu/sofia-sip | <1.12.11+20110422.1+1 | 1.12.11+20110422.1+1 |
ubuntu/sofia-sip | <1.12.11+20110422.1+1 | 1.12.11+20110422.1+1 |
ubuntu/sofia-sip | <1.12.11+20110422.1-2.1+ | 1.12.11+20110422.1-2.1+ |
debian/sofia-sip | <=1.12.11+20110422.1-2.1 | 1.12.11+20110422.1-2.1+deb10u4 1.12.11+20110422.1-2.1+deb11u2 1.12.11+20110422.1+1e14eea~dfsg-6 |
SignalWire Sofia-SIP | <1.13.15 | |
Debian Debian Linux | =10.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-32307 is a vulnerability in the Sofia-SIP open-source SIP User-Agent library that can cause heap overflow and integer overflow issues.
CVE-2023-32307 has a severity rating of 7.5, which is considered high.
The affected software for CVE-2023-32307 includes Sofia-SIP version 1.12.11+20110422.1-2.1+deb10u4, 1.12.11+20110422.1-2.1+deb11u2, 1.12.11+20110422.1+1e14eea~dfsg-6, Signalwire Sofia-sip version up to 1.13.15, and Debian Debian Linux version 10.0.
To fix CVE-2023-32307, you should update the Sofia-SIP library to a version that includes the necessary patches or apply the recommended fixes provided by the software vendor.
More information about CVE-2023-32307 can be found in the [GitHub advisory](https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-rm4c-ccvf-ff9c), the [Debian security announcement](https://lists.debian.org/debian-lts-announce/2023/06/msg00002.html), and the [related GitHub pull request](https://github.com/freeswitch/sofia-sip/pull/214).