CVE-2023-38703PJSIP 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 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.
What to do
Fixed builds are available from Alpine: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | asterisk | Fix pending | UBUNTU-CVE-2023-38703 | |
| Ubuntu 26.04 | asterisk | Under investigation | UBUNTU-CVE-2023-38703 | |
| Ubuntu 25.10 | asterisk | Will not fix asterisk and ring both contain embedded copies of pjsip. | UBUNTU-CVE-2023-38703 | |
| Ubuntu 24.04 | asterisk | Under investigation | UBUNTU-CVE-2023-38703 | |
| Ubuntu 22.04 | asterisk | Under investigation | UBUNTU-CVE-2023-38703 | |
| Ubuntu 20.04 | asterisk | Will not fix asterisk and ring both contain embedded copies of pjsip. | UBUNTU-CVE-2023-38703 | |
| Ubuntu 20.04 | ring | Will not fix asterisk and ring both contain embedded copies of pjsip. | UBUNTU-CVE-2023-38703 | |
| Ubuntu 18.04 | asterisk | Will not fix asterisk and ring both contain embedded copies of pjsip. | UBUNTU-CVE-2023-38703 | |
| Ubuntu 18.04 | ring | Fix pending | UBUNTU-CVE-2023-38703 | |
| Ubuntu 16.04 | asterisk | Will not fix asterisk and ring both contain embedded copies of pjsip. | UBUNTU-CVE-2023-38703 | |
| Ubuntu 14.04 | asterisk | Will not fix asterisk and ring both contain embedded copies of pjsip. | ||
| Debian 12 | ring | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2023-38703 | |
| Alpine Linux 3.24 | pjproject | Fixed | 2.14-r0 | ALPINE-CVE-2023-38703 |
| Alpine Linux 3.23 | pjproject | Fixed | 2.14-r0 | ALPINE-CVE-2023-38703 |
| Alpine Linux 3.22 | pjproject | Fixed | 2.14-r0 | ALPINE-CVE-2023-38703 |
| Alpine Linux 3.21 | pjproject | Fixed | 2.14-r0 | ALPINE-CVE-2023-38703 |
| Alpine Linux 3.20 | pjproject | Fixed | 2.14-r0 | ALPINE-CVE-2023-38703 |
| Alpine Linux 3.19 | pjproject | Fixed | 2.14-r0 | ALPINE-CVE-2023-38703 |
| Alpine Linux 3.18 | pjproject | Fixed | 2.14-r0 | ALPINE-CVE-2023-38703 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- pjsip pjproject: affected: <= 2.13.1
References
- https://github.com/pjsip/pjproject/security/advisories/GHSA-f76w-fh7c-pc66
- https://github.com/pjsip/pjproject/commit/6dc9b8c181aff39845f02b4626e0812820d4ef0d
- https://lists.debian.org/debian-lts-announce/2023/12/msg00019.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.