CVE-2023-32307 heap-over-flow and integer-overflow in sofia-sip
Attackers can trigger heap overflows and integer overflows in Sofia-SIP via crafted STUN packets, causing crashes or potential code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-32307?
CVE-2023-32307 is a high-severity vulnerability in Debian Debian Linux, published on 26 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2023-32307?
It affects 2 products.
Products include Debian Debian Linux, Signalwire Sofia-Sip.
How do I fix CVE-2023-32307?
Upgrade to a fixed version.
Is CVE-2023-32307 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-32307 exists.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2023-32307, DLA-3441-1, DSA-5431-1, GHSA-rm4c-ccvf-ff9c, MGASA-2023-0209, UBUNTU-CVE-2023-32307 and 1 more.