CVE-2023-32307

Name
CVE-2023-32307
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-rm4c-ccvf-ff9c
MISC https://lists.debian.org/debian-lts-announce/2023/06/msg00002.html
MISC https://www.debian.org/security/2023/dsa-5431
security-advisories@github.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OY66DOQ3B7GULJTI66X5HNX5FU3P65CX/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:signalwire:sofia-sip:*:*:*:*:*:*:*:* sofia-sip >= None < 1.13.15

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
sofia-sip 3.15-main 1.13.14-r2 Francesco Colista <fcolista@alpinelinux.org> possibly vulnerable