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.
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
Name | Vendor | Start Version | End Version |
---|---|---|---|
Sofia-sip | Signalwire | * | 1.13.15 (excluding) |
Sip4 | Ubuntu | bionic | * |
Sip4 | Ubuntu | kinetic | * |
Sip4 | Ubuntu | trusty | * |
Sip4 | Ubuntu | xenial | * |
Sofia-sip | Ubuntu | bionic | * |
Sofia-sip | Ubuntu | devel | * |
Sofia-sip | Ubuntu | esm-apps/bionic | * |
Sofia-sip | Ubuntu | esm-apps/xenial | * |
Sofia-sip | Ubuntu | focal | * |
Sofia-sip | Ubuntu | jammy | * |
Sofia-sip | Ubuntu | kinetic | * |
Sofia-sip | Ubuntu | lunar | * |
Sofia-sip | Ubuntu | mantic | * |
Sofia-sip | Ubuntu | trusty | * |
Sofia-sip | Ubuntu | upstream | * |
Sofia-sip | Ubuntu | xenial | * |