CVE-2023-40019
FreeSWITCH vulnerability analysis and mitigation

Overview

FreeSWITCH, a Software Defined Telecom Stack, was found to be vulnerable to a denial of service attack prior to version 1.10.10. The vulnerability (CVE-2023-40019) was discovered and disclosed in September 2023, affecting all versions up to 1.10.9. The issue allows authorized users to cause a denial of service by sending re-INVITE with SDP containing duplicate codec names (GitHub Advisory, NVD).

Technical details

When a call in FreeSWITCH completes codec negotiation, the codec_string channel variable is set with the result of the negotiation. On a subsequent re-negotiation, if an SDP is offered that contains codecs with the same names but with different formats, there may be too many codec matches detected by FreeSWITCH leading to overflows of its internal arrays. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

By exploiting this vulnerability, an attacker can corrupt the stack of FreeSWITCH, leading to undefined behavior of the system or causing it to crash. The primary impact is on system availability, with no direct effect on confidentiality or integrity (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in FreeSWITCH version 1.10.10. Users are strongly encouraged to upgrade to this version or later to address the security issue. The fix was part of a major release that included critical security fixes and other improvements (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related FreeSWITCH vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-40018HIGH7.5
  • FreeSWITCHFreeSWITCH
  • freeswitch
NoYesSep 15, 2023
CVE-2021-41158HIGH7.5
  • FreeSWITCHFreeSWITCH
  • cpe:2.3:a:freeswitch:freeswitch
NoYesOct 26, 2021
CVE-2023-40019MEDIUM6.5
  • FreeSWITCHFreeSWITCH
  • freeswitch
NoYesSep 15, 2023
CVE-2023-51443MEDIUM5.9
  • FreeSWITCHFreeSWITCH
  • cpe:2.3:a:freeswitch:freeswitch
NoYesDec 27, 2023
CVE-2021-41157MEDIUM5.3
  • FreeSWITCHFreeSWITCH
  • freeswitch
NoYesOct 26, 2021

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management