Vulnerability · Published Oct 6, 2022 · Assigned by GitHub_M
CVE-2022-39269Media transport downgrade from the secure version (SRTP) to non-secure (RTP) in pjsip
Critical 9.1
In plain English
A critical-severity security flaw 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 0.7% (higher than 54% 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. When processing certain packets, PJSIP may incorrectly switch from using SRTP media transport to using basic RTP upon SRTP restart, causing the media to be sent insecurely. The vulnerability impacts all PJSIP users that use SRTP. The patch is available as commit d2acb9a in the master branch of the project and will be included in version 2.13. Users are advised to manually patch or to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | pjproject | 2.13-r0 | ALPINE-CVE-2022-39269 |
| Alpine:v3.21 | pjproject | 2.13-r0 | ALPINE-CVE-2022-39269 |
| Alpine:v3.22 | pjproject | 2.13-r0 | ALPINE-CVE-2022-39269 |
| Alpine:v3.23 | pjproject | 2.13-r0 | ALPINE-CVE-2022-39269 |
| Alpine:v3.24 | pjproject | 2.13-r0 | ALPINE-CVE-2022-39269 |
| Debian:14 | asterisk | 1:20.3.0~dfsg+~cs6.13.40431413-1 | DEBIAN-CVE-2022-39269 |
| Debian:12 | ring | 20230206.0~ds1-1 | DEBIAN-CVE-2022-39269 |
| Ubuntu:22.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2022-39269 |
| Ubuntu:24.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2022-39269 |
| Ubuntu:25.10 | asterisk | no fix listed | UBUNTU-CVE-2022-39269 |
| Ubuntu:26.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2022-39269 |
| Ubuntu:26.10 | asterisk | no fix listed | UBUNTU-CVE-2022-39269 |
Affected products (as reported)
Weakness: CWE-319 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/pjsip/pjproject/security/advisories/GHSA-wx5m-cj97-4wwg
- https://github.com/pjsip/pjproject/commit/d2acb9af4e27b5ba75d658690406cec9c274c5cc
- GLSA-202210-37 vendor-advisory
- [debian-lts-announce] 20230222 [SECURITY] [DLA 3335-1] asterisk security update mailing-list
- DSA-5358 vendor-advisory