UBUNTU-CVE-2023-32307 (CVE-2023-32307)
Vulnerability from osv_ubuntu – Published: 2023-05-26 23:15 – Updated: 2026-04-22 07:45 – Source websiteSofia-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.
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libsofia-sip-ua-glib3",
"binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm2"
},
{
"binary_name": "libsofia-sip-ua0",
"binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm2"
},
{
"binary_name": "sofia-sip-bin",
"binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "sofia-sip",
"purl": "pkg:deb/ubuntu/sofia-sip@1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm2?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.12.11+20110422.1-2ubuntu1",
"1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libsofia-sip-ua-glib3",
"binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.18.04.1~esm1"
},
{
"binary_name": "libsofia-sip-ua0",
"binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.18.04.1~esm1"
},
{
"binary_name": "sofia-sip-bin",
"binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.18.04.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "sofia-sip",
"purl": "pkg:deb/ubuntu/sofia-sip@1.12.11+20110422.1-2.1+deb10u3ubuntu0.18.04.1~esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.18.04.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.12.11+20110422.1-2.1",
"1.12.11+20110422.1-2.1build1",
"1.12.11+20110422.1-2.1+deb10u3build0.18.04.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libsofia-sip-ua-glib3",
"binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.2"
},
{
"binary_name": "libsofia-sip-ua0",
"binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.2"
},
{
"binary_name": "sofia-sip-bin",
"binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "sofia-sip",
"purl": "pkg:deb/ubuntu/sofia-sip@1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.12.11+20110422.1-2.1build1",
"1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libsofia-sip-ua-glib3",
"binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.2"
},
{
"binary_name": "libsofia-sip-ua0",
"binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.2"
},
{
"binary_name": "sofia-sip-bin",
"binary_version": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "sofia-sip",
"purl": "pkg:deb/ubuntu/sofia-sip@1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.12.11+20110422.1-2.1ubuntu1",
"1.12.11+20110422.1-2.1ubuntu2",
"1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2023-32307",
"modified": "2026-04-22T07:45:21Z",
"published": "2023-05-26T23:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-32307"
},
{
"type": "REPORT",
"url": "https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-rm4c-ccvf-ff9c"
},
{
"type": "REPORT",
"url": "https://github.com/freeswitch/sofia-sip/pull/214"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6448-1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-32307"
}
],
"related": [
"USN-6448-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-32307"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.