Out-of-bounds read in pjsip - CVE-2022-21723
Published: February 24, 2022 / Updated: March 6, 2022
Vulnerability identifier: #VU60861
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-21723
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to a boundary condition during SIP message parsing. A remote attacker can trick the victim into opening it, trigger out-of-bounds read error and read contents of memory on the system.
Affected software
pjsip
Debian Linux
Gentoo Linux
Ubuntu
Asterisk Open Source
Certified Asterisk
asterisk (Debian package)
ring (Ubuntu package)
ring-daemon (Ubuntu package)
net-libs/pjproject
jami (Ubuntu package)
jami-daemon (Ubuntu package)
Debian Linux
Gentoo Linux
Ubuntu
Asterisk Open Source
Certified Asterisk
asterisk (Debian package)
ring (Ubuntu package)
ring-daemon (Ubuntu package)
net-libs/pjproject
jami (Ubuntu package)
jami-daemon (Ubuntu package)
How to mitigate CVE-2022-21723
Install updates from vendor's website.
pjsip - update to 2.12
Asterisk Open Source - addressed in versions 16.24.1, 18.10.1, 19.2.1
Certified Asterisk - update to 16.8-cert13
asterisk (Debian package) - update to 1:16.28.0~dfsg-0+deb11u1
ring (Ubuntu package) - addressed in versions Ubuntu Pro, 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1
ring-daemon (Ubuntu package) - addressed in versions Ubuntu Pro, 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1
net-libs/pjproject - update to 2.12.1
jami (Ubuntu package) - addressed in versions 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1, 20230206.0~ds1-5ubuntu0.1, 20230206.0~ds2-1.3ubuntu0.1
jami-daemon (Ubuntu package) - addressed in versions 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1, 20230206.0~ds1-5ubuntu0.1, 20230206.0~ds2-1.3ubuntu0.1
Asterisk Open Source - addressed in versions 16.24.1, 18.10.1, 19.2.1
Certified Asterisk - update to 16.8-cert13
asterisk (Debian package) - update to 1:16.28.0~dfsg-0+deb11u1
ring (Ubuntu package) - addressed in versions Ubuntu Pro, 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1
ring-daemon (Ubuntu package) - addressed in versions Ubuntu Pro, 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1
net-libs/pjproject - update to 2.12.1
jami (Ubuntu package) - addressed in versions 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1, 20230206.0~ds1-5ubuntu0.1, 20230206.0~ds2-1.3ubuntu0.1
jami-daemon (Ubuntu package) - addressed in versions 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1, 20230206.0~ds1-5ubuntu0.1, 20230206.0~ds2-1.3ubuntu0.1