Improper input validation in Freeswitch
CVE-2021-41105
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
EPSS: 0.024 (82.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Freeswitch
- Signalwire Freeswitch — versions < 1.10.7
Weakness classification (CWE)
References
- security-advisories@github.com (Third Party Advisory, x_refsource_MISC, Release Notes)
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Third Party Advisory)
- security-advisories@github.com (mailing-list, Exploit, x_refsource_FULLDISC, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-41105?
- CVE-2021-41105 is a high-severity vulnerability in Freeswitch, classified under Improper Input Validation. CVSS score: 7.5/10. Published 2021-10-25.
- How severe is CVE-2021-41105?
- High severity. CVSS v3 base score is 7.5 out of 10.