Out-of-bounds write in Sofia-SIP - CVE-2023-22741

 

Out-of-bounds write in Sofia-SIP - CVE-2023-22741

Published: March 8, 2023


Vulnerability identifier: #VU73153
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-22741
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing STUN packets. A remote attacker can send specially crafted STUN packets to the server, trigger an out-of-bounds write and execute arbitrary code on the target system.


Affected software

Sofia-SIP
Debian Linux
Gentoo Linux
Ubuntu
libsofia-sip-ua-glib3 (Ubuntu package)
libsofia-sip-ua0 (Ubuntu package)
sofia-sip-bin (Ubuntu package)
sofia-sip (Debian package)
net-libs/sofia-sip

How to mitigate CVE-2023-22741

Install updates from vendor's website.

Sofia-SIP - update to 1.13.11
libsofia-sip-ua-glib3 (Ubuntu package) - addressed in versions Ubuntu Pro, 1.12.11+20110422.1+1e14eea~dfsg-3ubuntu0.1, 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1, 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1, 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1
libsofia-sip-ua0 (Ubuntu package) - addressed in versions Ubuntu Pro, 1.12.11+20110422.1+1e14eea~dfsg-3ubuntu0.1, 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1, 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1, 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1
sofia-sip-bin (Ubuntu package) - addressed in versions Ubuntu Pro, 1.12.11+20110422.1+1e14eea~dfsg-3ubuntu0.1, 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1, 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1, 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1
sofia-sip (Debian package) - update to 1.12.11+20110422.1-2.1+deb11u1
net-libs/sofia-sip - update to 1.13.16

External References

Related Security Bulletins