CVE-2022-23608
PJSIP is a free and open source multimedia communication library writt ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (low).
Description
PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In versions up to and including 2.11.1 when in a dialog set (or forking) scenario, a hash key shared by multiple UAC dialogs can potentially be prematurely freed when one of the dialogs is destroyed . The issue may cause a dialog set to be registered in the hash table multiple times (with different hash keys) leading to undefined behavior such as dialog list collision which eventually leading to endless loop. A patch is available in commit db3235953baa56d2fb0e276ca510fefca751643f which will be included in the next release. There are no known workarounds for this issue.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.16 | pjproject | 2.12-r0 |
| alpine 3.17 | pjproject | 2.12-r0 |
| alpine 3.18 | pjproject | 2.12-r0 |
| alpine 3.19 | pjproject | 2.12-r0 |
| alpine 3.20 | pjproject | 2.12-r0 |
| alpine 3.21 | pjproject | 2.12-r0 |
| alpine 3.22 | pjproject | 2.12-r0 |
| alpine 3.23 | pjproject | 2.12-r0 |
| alpine 3.24 | pjproject | 2.12-r0 |
| alpine edge | pjproject | 2.12-r0 |
| debian 10 | asterisk, ring | 1:16.28.0~dfsg-0+deb10u1 and 1 more |
| debian 11 | asterisk, ring | 1:16.28.0~dfsg-0+deb11u1 and 1 more |
Show all 22 entries from 19 sources
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.16 | pjproject | 2.12-r0 |
| alpine 3.17 | pjproject | 2.12-r0 |
| alpine 3.18 | pjproject | 2.12-r0 |
| alpine 3.19 | pjproject | 2.12-r0 |
| alpine 3.20 | pjproject | 2.12-r0 |
| alpine 3.21 | pjproject | 2.12-r0 |
| alpine 3.22 | pjproject | 2.12-r0 |
| alpine 3.23 | pjproject | 2.12-r0 |
| alpine 3.24 | pjproject | 2.12-r0 |
| alpine edge | pjproject | 2.12-r0 |
| debian 10 | asterisk | 1:16.28.0~dfsg-0+deb10u1 |
| debian 10 | ring | 20190215.1.f152c98~ds1-1+deb10u2 |
| debian 11 | asterisk | 1:16.28.0~dfsg-0+deb11u1 |
| debian 11 | ring | 20210112.2.b757bac~ds1-1+deb11u1 |
| debian 12 | ring | 20230206.0~ds1-1 |
| debian 14 | asterisk | 1:18.10.1~dfsg+~cs6.10.40431411-1 |
| debian 9 | pjproject | 2.5.5~dfsg-6+deb9u3 |
| echo | ring | 20230206.0~ds1-1 |
| ubuntu 18.04-ESM | pjproject | no fix listed |
| ubuntu 18.04-ESM | ring | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 |
| ubuntu 20.04 | ring | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 |
| ubuntu 20.04-ESM | ring | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 |
References
- http://packetstormsecurity.com/files/166226/Asterisk-Project-Security-Advisory-AST-2022-005.html
- http://seclists.org/fulldisclosure/2022/Mar/1
- https://github.com/pjsip/pjproject/commit/db3235953baa56d2fb0e276ca510fefca751643f
- https://github.com/pjsip/pjproject/security/advisories/GHSA-ffff-m5fm-qm62
- https://lists.debian.org/debian-lts-announce/2022/03/msg00035.html
- https://lists.debian.org/debian-lts-announce/2022/03/msg00040.html
- https://lists.debian.org/debian-lts-announce/2022/11/msg00021.html
- https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html