cve.bz

CVE-2023-49786 Race Condition

5.9 mediumExploit referenceEPSS 5.3%Fix available

Medium (5.9). EPSS 5.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
5.3% (unchanged from 5.3% a week ago; 5.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2024-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
CWE-703 Improper Check or Handling of Exceptional Conditions
OWASP Top 10
A06:2025 Insecure Design, A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-49786 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-49786?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-49786?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-49786 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
digium:asteriskbefore 18.20.1
digium:asteriskfrom 19.0.0 before 20.5.1
digium:asterisk21.0.0
sangoma:certified_asterisk13.13.0
sangoma:certified_asterisk13.13.0:cert1
sangoma:certified_asterisk13.13.0:cert1-rc1
sangoma:certified_asterisk13.13.0:cert1-rc2
sangoma:certified_asterisk13.13.0:cert1-rc3
sangoma:certified_asterisk13.13.0:cert1-rc4
sangoma:certified_asterisk13.13.0:cert2
sangoma:certified_asterisk13.13.0:cert3
sangoma:certified_asterisk13.13.0:rc1
sangoma:certified_asterisk13.13.0:rc2
sangoma:certified_asterisk16.8.0
sangoma:certified_asterisk16.8.0:cert1
sangoma:certified_asterisk16.8.0:cert10
sangoma:certified_asterisk16.8.0:cert11
sangoma:certified_asterisk16.8.0:cert12
sangoma:certified_asterisk16.8.0:cert2
sangoma:certified_asterisk16.8.0:cert3
sangoma:certified_asterisk16.8.0:cert4
sangoma:certified_asterisk16.8.0:cert5
sangoma:certified_asterisk16.8.0:cert6
sangoma:certified_asterisk16.8.0:cert7
sangoma:certified_asterisk16.8.0:cert8
sangoma:certified_asterisk16.8.0:cert9
sangoma:certified_asterisk18.9:cert1
sangoma:certified_asterisk18.9:cert2
sangoma:certified_asterisk18.9:cert3
sangoma:certified_asterisk18.9:cert4
sangoma:certified_asterisk18.9:cert5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10asterisk1:16.28.0~dfsg-0+deb10u4DLA-3696-1
Debian11asterisk1:16.28.0~dfsg-0+deb11u4DSA-5596-1
Debian14asterisk1:20.5.1~dfsg+~cs6.13.40431414-1DEBIAN-CVE-2023-49786
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 5 moreasteriskno fix listedUBUNTU-CVE-2023-49786
Alpinev3.16, v3.17, v3.18asterisk18.20.2-r0ALPINE-CVE-2023-49786
Alpinev3.19, v3.20, v3.21 and 3 moreasterisk20.5.1-r0ALPINE-CVE-2023-49786

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON