CVE-2023-49786Asterisk susceptible to Denial of Service via DTLS Hello packets during call initiation
Asterisk is an open source private branch exchange and telephony toolkit. In Asterisk prior to versions 18.20.1, 20.5.1, and 21.0.1; as well as certified-asterisk prior to 18.9-cert6; Asterisk is susceptible to a DoS due to a race condition in the hello handshake phase of the DTLS protocol when handling DTLS-SRTP for media setup. This attack can be done continuously, thus denying new DTLS-SRTP encrypted calls during the attack. Abuse of this vulnerability may lead to a massive Denial of Service on vulnerable Asterisk servers for calls that rely on DTLS-SRTP. Commit d7d7764cb07c8a1872804321302ef93bf62cba05 contains a fix, which is part of versions 18.20.1, 20.5.1, 21.0.1, amd 18.9-cert6.
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.10 | asterisk | Fix pending | UBUNTU-CVE-2023-49786 | |
| Ubuntu 26.04 | asterisk | Under investigation | UBUNTU-CVE-2023-49786 | |
| Ubuntu 25.10 | asterisk | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-49786 | |
| Ubuntu 24.04 | asterisk | Under investigation | UBUNTU-CVE-2023-49786 | |
| Ubuntu 22.04 | asterisk | Under investigation | UBUNTU-CVE-2023-49786 | |
| Ubuntu 20.04 | asterisk | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-49786 | |
| Ubuntu 18.04 | asterisk | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-49786 | |
| Ubuntu 16.04 | asterisk | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-49786 | |
| Ubuntu 14.04 | asterisk | Will not fix Ubuntu decided not to fix this in this release | ||
| Alpine Linux 3.24 | asterisk | Fixed | 20.5.1-r0 | ALPINE-CVE-2023-49786 |
| Alpine Linux 3.23 | asterisk | Fixed | 20.5.1-r0 | ALPINE-CVE-2023-49786 |
| Alpine Linux 3.22 | asterisk | Fixed | 20.5.1-r0 | ALPINE-CVE-2023-49786 |
| Alpine Linux 3.21 | asterisk | Fixed | 20.5.1-r0 | ALPINE-CVE-2023-49786 |
| Alpine Linux 3.20 | asterisk | Fixed | 20.5.1-r0 | ALPINE-CVE-2023-49786 |
| Alpine Linux 3.19 | asterisk | Fixed | 20.5.1-r0 | ALPINE-CVE-2023-49786 |
| Alpine Linux 3.18 | asterisk | Fixed | 18.20.2-r0 | ALPINE-CVE-2023-49786 |
| Alpine Linux 3.17 | asterisk | Fixed | 18.20.2-r0 | ALPINE-CVE-2023-49786 |
| Alpine Linux 3.16 | asterisk | Fixed | 18.20.2-r0 | ALPINE-CVE-2023-49786 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- asterisk: affected: < 18.20.1, >= 19.0.0, < 20.5.1, = 21.0.0, < 18.9-cert6
References
- https://github.com/asterisk/asterisk/security/advisories/GHSA-hxj9-xwr8-w8pq
- https://github.com/asterisk/asterisk/commit/d7d7764cb07c8a1872804321302ef93bf62cba05
- https://github.com/EnableSecurity/advisories/tree/master/ES2023-01-asterisk-dtls-hello-race
- http://www.openwall.com/lists/oss-security/2023/12/15/7
- http://packetstormsecurity.com/files/176251/Asterisk-20.1.0-Denial-Of-Service.html
- http://seclists.org/fulldisclosure/2023/Dec/24
- https://lists.debian.org/debian-lts-announce/2023/12/msg00019.html
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.