PJSIP SRTP Use-After-Free via Non-UDP Transport
CVE-2023-38703 Published on October 6, 2023

PJSIP has use-after-free vulnerability in SRTP media transport
PJSIP is a free and open source multimedia communication library written in C with high level API in C, C++, Java, C#, and Python languages. SRTP is a higher level media transport which is stacked upon a lower level media transport such as UDP and ICE. Currently a higher level transport is not synchronized with its lower level transport that may introduce use-after-free issue. This vulnerability affects applications that have SRTP capability (`PJMEDIA_HAS_SRTP` is set) and use underlying media transport other than UDP. This vulnerabilitys impact may range from unexpected application termination to control flow hijack/memory corruption. The patch is available as a commit in the master branch.

NVD

Vulnerability Analysis

CVE-2023-38703 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH

Weakness Type

What is a Dangling pointer Vulnerability?

Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.

CVE-2023-38703 has been classified to as a Dangling pointer vulnerability or weakness.


Products Associated with CVE-2023-38703

stack.watch emails you whenever new vulnerabilities are published in Teluu Pjsip or Pjsip. Just hit a watch button to start following.

 
 

Affected Versions

pjsip pjproject Version <= 2.13.1 is affected by CVE-2023-38703

Exploit Probability

EPSS
0.28%
Percentile
51.65%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.