Use-after-free in Asterisk Open Source and Certified Asterisk - CVE-2022-42705

 

Use-after-free in Asterisk Open Source and Certified Asterisk - CVE-2022-42705

Published: December 2, 2022


Vulnerability identifier: #VU69827
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-42705
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Digium (Linux Support Services)
Affected software:
Asterisk Open Source
Certified Asterisk

Detailed vulnerability description

The vulnerability allows a remote user to perform a denial of service (DoS) attack.

The vulnerability exists due to a use-after-free error within res_pjsip_pubsub.c, res_pjsip_outbound_registration.c, pjsip_transport_events.c files when performing activity on a subscription via a reliable transport at the same time Asterisk is also performing activty on that subscription. A remote user can trigger a use-after-free error and perform a denial of service (DoS) attack.



How to mitigate CVE-2022-42705

Install updates from vendor's website.

Sources