CVE-2023-32307: heap-over-flow and integer-overflow in sofia-sip

Published 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, 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

10 affected componentsFixes available
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+deb10u41.12.11+20110422.1-2.1+deb11u21.12.11+20110422.1+1e14eea~dfsg-6
SignalWire Sofia-sip<1.13.15
Debian Debian Linux=10.0

Event History

May 26, 2023
CVE Published
via Ubuntu·12:00 AM
CVE Published
via MITRE·10:11 PM
Data Sourced
via MITRE·10:11 PM
DescriptionSeverityWeakness
Data Sourced
11:15 PM
Description
May 27, 2023
Data Sourced
08:48 PM
SeverityAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:20 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

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.

2

How severe is CVE-2023-32307?

CVE-2023-32307 has a severity rating of 7.5, which is considered high.

3

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.

4

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.

5

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).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203