CVE-2023-32307 heap-over-flow and integer-overflow in sofia-sip
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
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 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 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.
Upgrade path
10 packages: 8 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/sofia-sip(Debian 12) | < 1.12.11+20110422.1+1e14eea~dfsg-6 | 1.12.11+20110422.1+1e14eea~dfsg-6 | Fixed |
| debian/sofia-sip(Debian 13) | < 1.12.11+20110422.1+1e14eea~dfsg-6 | 1.12.11+20110422.1+1e14eea~dfsg-6 | Fixed |
| debian/sofia-sip(Debian 14) | < 1.12.11+20110422.1+1e14eea~dfsg-6 | 1.12.11+20110422.1+1e14eea~dfsg-6 | Fixed |
| signalwire sofia-sip | < 1.13.15 | 1.13.15 | Fixed |
| ubuntu/sofia-sip(Ubuntu 20.04) | < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.2; = 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1; = 1.12.11+20110422.1-2.1build1 | 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.2 | Fixed |
| ubuntu/sofia-sip(Ubuntu 22.04) | < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.2; = 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1; = 1.12.11+20110422.1-2.1ubuntu1; = 1.12.11+20110422.1-2.1ubuntu2 | 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.2 | Fixed |
| ubuntu/sofia-sip(Ubuntu Pro 16.04) | < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm2; = 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1; = 1.12.11+20110422.1-2ubuntu1 | 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm2 | Fixed |
| ubuntu/sofia-sip(Ubuntu Pro 18.04) | < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.18.04.1~esm1; = 1.12.11+20110422.1-2.1; = 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1; = 1.12.11+20110422.1-2.1build1 | 1.12.11+20110422.1-2.1+deb10u3ubuntu0.18.04.1~esm1 | Fixed |
| debian linux | = 10.0 | No fix listed | Versions listed |
| freeswitch/sofia-sip | = < 1.13.15 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/sofia-sip(Debian:12) | < 1.12.11+20110422.1+1e14eea~dfsg-6 | 1.12.11+20110422.1+1e14eea~dfsg-6 |
| debian/sofia-sip(Debian:13) | < 1.12.11+20110422.1+1e14eea~dfsg-6 | 1.12.11+20110422.1+1e14eea~dfsg-6 |
| debian/sofia-sip(Debian:14) | < 1.12.11+20110422.1+1e14eea~dfsg-6 | 1.12.11+20110422.1+1e14eea~dfsg-6 |
| freeswitch/sofia-sip | = < 1.13.15 | No fix listed |
| ubuntu/sofia-sip(Ubuntu:22.04) | < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.2 | 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.2 |
| signalwire sofia-sip | < 1.13.15 | 1.13.15 |
| debian linux | = 10.0 | No fix listed |
| ubuntu/sofia-sip(Ubuntu:Pro:16.04) | < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm2 | 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm2 |
| ubuntu/sofia-sip(Ubuntu:Pro:16.04) | = 1.12.11+20110422.1-2ubuntu1 | No fix listed |
| ubuntu/sofia-sip(Ubuntu:Pro:16.04) | = 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1 | No fix listed |
| ubuntu/sofia-sip(Ubuntu:Pro:18.04) | < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.18.04.1~esm1 | 1.12.11+20110422.1-2.1+deb10u3ubuntu0.18.04.1~esm1 |
| ubuntu/sofia-sip(Ubuntu:Pro:18.04) | = 1.12.11+20110422.1-2.1 | No fix listed |
| ubuntu/sofia-sip(Ubuntu:Pro:18.04) | = 1.12.11+20110422.1-2.1build1 | No fix listed |
| ubuntu/sofia-sip(Ubuntu:Pro:18.04) | = 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1 | No fix listed |
| ubuntu/sofia-sip(Ubuntu:20.04) | < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.2 | 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.2 |
| ubuntu/sofia-sip(Ubuntu:20.04) | = 1.12.11+20110422.1-2.1build1 | No fix listed |
| ubuntu/sofia-sip(Ubuntu:20.04) | = 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1 | No fix listed |
| ubuntu/sofia-sip(Ubuntu:22.04) | = 1.12.11+20110422.1-2.1ubuntu1 | No fix listed |
| ubuntu/sofia-sip(Ubuntu:22.04) | = 1.12.11+20110422.1-2.1ubuntu2 | No fix listed |
| ubuntu/sofia-sip(Ubuntu:22.04) | = 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1 | No fix listed |
References
- Debian Security Tracker CVE-2023-32307 vendor-advisory
- https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-rm4c-ccvf-ff9c exploit issue-tracking vendor-advisory
- lists.debian.org mailing-list third-party-advisory
- www.debian.org
- lists.fedoraproject.org
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6448-1 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- github.com issue-tracking