
Cloud Vulnerability DB
A community-led vulnerabilities database
PJSIP, a free and open source multimedia communication library written in C, was found to contain a use-after-free vulnerability (CVE-2023-38703) affecting applications with SRTP capability. The vulnerability exists because a higher level transport (SRTP) is not properly synchronized with its lower level transport (such as UDP and ICE), potentially leading to use-after-free issues (GitHub Advisory).
The vulnerability specifically affects applications that have SRTP capability (PJMEDIA_HAS_SRTP is set) and use underlying media transport other than UDP. The core issue stems from improper synchronization between the SRTP higher level media transport and its lower level transport mechanisms. This synchronization gap can result in use-after-free scenarios, where memory is accessed after it has been deallocated (GitHub Advisory).
The impact of this vulnerability ranges from unexpected application termination to potential control flow hijack and memory corruption. This poses significant risks for applications utilizing PJSIP's SRTP capabilities with non-UDP transport mechanisms (GitHub Advisory).
A patch has been released to address this vulnerability and is available as commit 6dc9b8c in the master branch. The fix includes adding group lock to media transport and SRTP-DTLS, as well as implementing lock protection to avoid race conditions between destroy() and dtlsonrecv() functions (GitHub Commit).
The vulnerability has been acknowledged by major Linux distributions including Debian, which has released security updates to address this issue along with other vulnerabilities in affected packages (Debian Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."