Vulnerability · Published Dec 5, 2022 · Assigned by mitre
CVE-2022-42705
Medium 6.5
In plain English
A medium-severity use-after-free in the asterisk package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A use-after-free in res_pjsip_pubsub.c in Sangoma Asterisk 16.28, 18.14, 19.6, and certified/18.9-cert2 may allow a remote authenticated attacker to crash Asterisk (denial of service) by performing activity on a subscription via a reliable transport at the same time that Asterisk is also performing activity on that subscription.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | asterisk | 18.15.1-r0 | ALPINE-CVE-2022-42705 |
| Alpine:v3.21 | asterisk | 18.15.1-r0 | ALPINE-CVE-2022-42705 |
| Alpine:v3.22 | asterisk | 18.15.1-r0 | ALPINE-CVE-2022-42705 |
| Alpine:v3.23 | asterisk | 18.15.1-r0 | ALPINE-CVE-2022-42705 |
| Alpine:v3.24 | asterisk | 18.15.1-r0 | ALPINE-CVE-2022-42705 |
| Debian:14 | asterisk | 1:20.0.1~dfsg+~cs6.12.40431414-1 | DEBIAN-CVE-2022-42705 |
| Ubuntu:22.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2022-42705 |
| Ubuntu:24.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2022-42705 |
| Ubuntu:25.10 | asterisk | no fix listed | UBUNTU-CVE-2022-42705 |
| Ubuntu:26.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2022-42705 |
| Ubuntu:26.10 | asterisk | no fix listed | UBUNTU-CVE-2022-42705 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H