CVEfocus › CVE database › CVE-2021-41105

CVE-2021-41105FreeSWITCH susceptible to Denial of Service via invalid SRTP packets

CVSS 7.5 HighEPSS 2.5% (higher than 86% of CVEs)Published 2021-10-25Updated 2024-08-04Assigner: GitHub_M

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a software implementation that runs on any commodity hardware. When handling SRTP calls, FreeSWITCH prior to version 1.10.7 is susceptible to a DoS where calls can be terminated by remote attackers. This attack can be done continuously, thus denying encrypted calls during the attack. When a media port that is handling SRTP traffic is flooded with a specially crafted SRTP packet, the call is terminated leading to denial of service. This issue was reproduced when using the SDES key exchange mechanism in a SIP environment as well as when using the DTLS key exchange mechanism in a WebRTC environment. The call disconnection occurs due to line 6331 in the source file `switch_rtp.c`, which disconnects the call when the total number of SRTP errors reach a hard-coded threshold (100). By abusing this vulnerability, an attacker is able to disconnect any ongoing calls that are using SRTP. The attack does not require authentication or any special foothold in the caller's or the callee's network. This issue is patched in version 1.10.7.

CWE-20

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

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

10Fixed

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.

ReleasePackageStatusFixed versionAdvisory
Alpine Linux 3.24freeswitchFixed1.10.7-r0ALPINE-CVE-2021-41105
Alpine Linux 3.23freeswitchFixed1.10.7-r0ALPINE-CVE-2021-41105
Alpine Linux 3.22freeswitchFixed1.10.7-r0ALPINE-CVE-2021-41105
Alpine Linux 3.21freeswitchFixed1.10.7-r0ALPINE-CVE-2021-41105
Alpine Linux 3.20freeswitchFixed1.10.7-r0ALPINE-CVE-2021-41105
Alpine Linux 3.19freeswitchFixed1.10.7-r0ALPINE-CVE-2021-41105
Alpine Linux 3.18freeswitchFixed1.10.7-r0ALPINE-CVE-2021-41105
Alpine Linux 3.17freeswitchFixed1.10.7-r0ALPINE-CVE-2021-41105
Alpine Linux 3.16freeswitchFixed1.10.7-r0ALPINE-CVE-2021-41105
Alpine Linux 3.15freeswitchFixed1.10.7-r0ALPINE-CVE-2021-41105

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.

References

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.