Vulnerability · Published Oct 6, 2023 · Assigned by GitHub_M
CVE-2023-38703PJSIP has use-after-free vulnerability in SRTP media transport
Critical 9.8
In plain English
A critical-severity use-after-free in pjproject from pjsip. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 vulnerability’s impact may range from unexpected application termination to control flow hijack/memory corruption. The patch is available as a commit in the master branch.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | pjproject | 2.14-r0 | ALPINE-CVE-2023-38703 |
| Alpine:v3.21 | pjproject | 2.14-r0 | ALPINE-CVE-2023-38703 |
| Alpine:v3.22 | pjproject | 2.14-r0 | ALPINE-CVE-2023-38703 |
| Alpine:v3.23 | pjproject | 2.14-r0 | ALPINE-CVE-2023-38703 |
| Alpine:v3.24 | pjproject | 2.14-r0 | ALPINE-CVE-2023-38703 |
| Debian:14 | asterisk | 1:20.8.1~dfsg+~cs6.14.40431414-1 | DEBIAN-CVE-2023-38703 |
| Debian:12 | ring | no fix listed | DEBIAN-CVE-2023-38703 |
| Ubuntu:22.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2023-38703 |
| Ubuntu:24.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2023-38703 |
| Ubuntu:25.10 | asterisk | no fix listed | UBUNTU-CVE-2023-38703 |
| Ubuntu:26.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2023-38703 |
| Ubuntu:26.10 | asterisk | no fix listed | UBUNTU-CVE-2023-38703 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H