Vulnerability · Published Apr 25, 2022 · Assigned by GitHub_M
CVE-2022-24792 Potential infinite loop when parsing WAV format file in PJSIP
High 7.5
In plain English
A high-severity infinite loop 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 2.1% (higher than 81% 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. A denial-of-service vulnerability affects applications on a 32-bit systems that use PJSIP versions 2.12 and prior to play/read invalid WAV files. The vulnerability occurs when reading WAV file data chunks with length greater than 31-bit integers. The vulnerability does not affect 64-bit apps and should not affect apps that only plays trusted WAV files. A patch is available on the `master` branch of the `pjsip/project` GitHub repository. As a workaround, apps can reject a WAV file received from an unknown source or validate the file first.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | pjproject | 2.12.1-r0 | ALPINE-CVE-2022-24792 |
| Alpine:v3.21 | pjproject | 2.12.1-r0 | ALPINE-CVE-2022-24792 |
| Alpine:v3.22 | pjproject | 2.12.1-r0 | ALPINE-CVE-2022-24792 |
| Alpine:v3.23 | pjproject | 2.12.1-r0 | ALPINE-CVE-2022-24792 |
| Alpine:v3.24 | pjproject | 2.12.1-r0 | ALPINE-CVE-2022-24792 |
| Debian:14 | asterisk | 1:18.14.0~~rc1~dfsg+~cs6.12.40431414-1 | DEBIAN-CVE-2022-24792 |
| Debian:12 | ring | 20230206.0~ds1-1 | DEBIAN-CVE-2022-24792 |
| Ubuntu:22.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2022-24792 |
| Ubuntu:24.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2022-24792 |
| Ubuntu:25.10 | asterisk | no fix listed | UBUNTU-CVE-2022-24792 |
| Ubuntu:26.04:LTS | asterisk | no fix listed | UBUNTU-CVE-2022-24792 |
| Ubuntu:26.10 | asterisk | no fix listed | UBUNTU-CVE-2022-24792 |
Affected products (as reported)
Weakness: CWE-835 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/pjsip/pjproject/security/advisories/GHSA-rwgw-vwxg-q799
- https://github.com/pjsip/pjproject/commit/947bc1ee6d05be10204b918df75a503415fd3213
- [debian-lts-announce] 20220531 [SECURITY] [DLA 3036-1] pjproject security update mailing-list
- GLSA-202210-37 vendor-advisory
- [debian-lts-announce] 20221117 [SECURITY] [DLA 3194-1] asterisk security update mailing-list
- DSA-5285 vendor-advisory