CVE-2020-28327
A res_pjsip_session crash was discovered in Asterisk Open Source 13.x before 13.37.1, 16.x before 16.14.1, 17.x before 17.8.1, and 18.x before 18.0.1. and Certified Asterisk before 16.8-cert5. Upon receiving a new SIP Invite, Asterisk did not return the created dialog locked or referenced. This caused a gap between the creation of the dialog object, and its next use by the thread that created it. Depending on some off-nominal circumstances and timing, it was possible for another thread to free said dialog in this gap. Asterisk could then crash when the dialog object, or any of its dependent objects, were dereferenced or accessed next by the initial-creation thread. Note, however, that this crash can only occur when using a connection-oriented protocol (e.g., TCP or TLS, but not UDP) for SIP transport. Also, the remote client must be authenticated, or Asterisk must be configured for anonymous calling.
What to do
Fixed builds are available from Alpine: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | asterisk | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | asterisk | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | asterisk | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | asterisk | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | asterisk | Fix pending | UBUNTU-CVE-2020-28327 | |
| Ubuntu 18.04 | asterisk | Fix pending | UBUNTU-CVE-2020-28327 | |
| Ubuntu 16.04 | asterisk | Fix pending | UBUNTU-CVE-2020-28327 | |
| Ubuntu 14.04 | asterisk | Fix pending | ||
| Alpine Linux 3.24 | asterisk | Fixed | 18.0.1-r0 | ALPINE-CVE-2020-28327 |
| Alpine Linux 3.23 | asterisk | Fixed | 18.0.1-r0 | ALPINE-CVE-2020-28327 |
| Alpine Linux 3.22 | asterisk | Fixed | 18.0.1-r0 | ALPINE-CVE-2020-28327 |
| Alpine Linux 3.21 | asterisk | Fixed | 18.0.1-r0 | ALPINE-CVE-2020-28327 |
| Alpine Linux 3.20 | asterisk | Fixed | 18.0.1-r0 | ALPINE-CVE-2020-28327 |
| Alpine Linux 3.19 | asterisk | Fixed | 18.0.1-r0 | ALPINE-CVE-2020-28327 |
| Alpine Linux 3.18 | asterisk | Fixed | 18.0.1-r0 | ALPINE-CVE-2020-28327 |
| Alpine Linux 3.17 | asterisk | Fixed | 18.0.1-r0 | ALPINE-CVE-2020-28327 |
| Alpine Linux 3.16 | asterisk | Fixed | 18.0.1-r0 | ALPINE-CVE-2020-28327 |
| Alpine Linux 3.15 | asterisk | Fixed | 18.0.1-r0 | ALPINE-CVE-2020-28327 |
| Alpine Linux 3.14 | asterisk | Fixed | 18.0.1-r0 | ALPINE-CVE-2020-28327 |
| Alpine Linux 3.13 | asterisk | Fixed | 18.0.1-r0 | ALPINE-CVE-2020-28327 |
| Alpine Linux 3.12 | asterisk | Fixed | 16.14.1-r0 | ALPINE-CVE-2020-28327 |
References
- http://downloads.asterisk.org/pub/security/AST-2020-001.html
- https://issues.asterisk.org/jira/browse/ASTERISK-29057
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.