CVE-2023-32307: heap-over-flow and integer-overflow in sofia-sip
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 stunparseattrerrorcode and stunparseattruint32 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 attrtype 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 Software
Event History
Frequently Asked Questions
What is CVE-2023-32307?
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.
How severe is CVE-2023-32307?
CVE-2023-32307 has a severity rating of 7.5, which is considered high.
What is the affected software for CVE-2023-32307?
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.
How do I fix CVE-2023-32307?
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.
Where can I find more information about CVE-2023-32307?
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).