CVE-2022-21723 Out-of-bounds read in multipart parsing in PJSIP
CriticalCVSS 9.1
EPSS 4.4%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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 2.11.1 and prior, parsing an incoming SIP message that contains a malformed multipart can potentially cause out-of-bound read access. This issue affects all PJSIP users that accept SIP multipart. The patch is available as commit in the master branch. There are no known workarounds.
Upgrade path
19 packages: 14 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/pjproject(Ubuntu Pro 16.04) | = 2.1.0.0.ast20130823-1; = 2.1.0.0.ast20130823-1+deb8u1build0.16.04.1; = 2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1; All versions | No fix listed | No fix yet |
| ubuntu/pjproject(Ubuntu Pro 18.04) | = 2.6~dfsg-2; = 2.7.1~dfsg-1; = 2.7.1~dfsg-1build1; = 2.7.2~dfsg-1 +3 more | No fix listed | No fix yet |
| alpine/pjproject(Alpine v3.16) | < 2.12-r0 | 2.12-r0 | Fixed |
| alpine/pjproject(Alpine v3.17) | < 2.12-r0 | 2.12-r0 | Fixed |
| alpine/pjproject(Alpine v3.18) | < 2.12-r0 | 2.12-r0 | Fixed |
| alpine/pjproject(Alpine v3.19) | < 2.12-r0 | 2.12-r0 | Fixed |
| alpine/pjproject(Alpine v3.20) | < 2.12-r0 | 2.12-r0 | Fixed |
| alpine/pjproject(Alpine v3.21) | < 2.12-r0 | 2.12-r0 | Fixed |
| alpine/pjproject(Alpine v3.22) | < 2.12-r0 | 2.12-r0 | Fixed |
| alpine/pjproject(Alpine v3.23) | < 2.12-r0 | 2.12-r0 | Fixed |
| alpine/pjproject(Alpine v3.24) | < 2.12-r0 | 2.12-r0 | Fixed |
| debian/ring(Debian 12) | < 20230206.0~ds1-1 | 20230206.0~ds1-1 | Fixed |
| Sangoma asterisk | >= 16.0.0, < 16.24.1; >= 18.0.0, < 18.10.1; >= 19.0.0, < 19.2.1 | 16.24.1, 18.10.1, 19.2.1 | Fixed |
| teluu pjsip | <= 2.11.1 | after 2.11.1 | Fixed |
| ubuntu/ring(Ubuntu 20.04) | < 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1; = 20190215.1.f152c98~ds1-1; = 20190215.1.f152c98~ds1-1build1; = 20190215.1.f152c98~ds1-1build2 | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | Fixed |
| ubuntu/ring(Ubuntu Pro 18.04) | < 20180228.1.503da2b~ds1-1ubuntu0.1~esm1; = 20170803.2.5fcfe3f~dfsg1-1; = 20171024.1.eadbdeb~ds1-1; = 20171129.2.cf5bbff~ds1-1 +6 more | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 | Fixed |
| asterisk certified asterisk | = 16.8.0; = 16.8.0-cert1; = 16.8.0-cert2; = 16.8.0-cert3 +9 more | No fix listed | Versions listed |
| debian linux | = 9.0; = 10.0 | No fix listed | Versions listed |
| pjsip pjproject | = <= 2.11.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pjsip pjproject | = <= 2.11.1 | No fix listed |
| teluu pjsip | <= 2.11.1 | No fix listed |
| asterisk certified asterisk | = 16.8.0 | No fix listed |
| asterisk certified asterisk | = 16.8.0-cert1 | No fix listed |
| asterisk certified asterisk | = 16.8.0-cert10 | No fix listed |
| asterisk certified asterisk | = 16.8.0-cert11 | No fix listed |
| asterisk certified asterisk | = 16.8.0-cert12 | No fix listed |
| asterisk certified asterisk | = 16.8.0-cert2 | No fix listed |
| asterisk certified asterisk | = 16.8.0-cert3 | No fix listed |
| asterisk certified asterisk | = 16.8.0-cert4 | No fix listed |
| asterisk certified asterisk | = 16.8.0-cert5 | No fix listed |
| asterisk certified asterisk | = 16.8.0-cert6 | No fix listed |
| asterisk certified asterisk | = 16.8.0-cert7 | No fix listed |
| asterisk certified asterisk | = 16.8.0-cert8 | No fix listed |
| asterisk certified asterisk | = 16.8.0-cert9 | No fix listed |
| Sangoma asterisk | >= 16.0.0, < 16.24.1 | 16.24.1 |
| Sangoma asterisk | >= 18.0.0, < 18.10.1 | 18.10.1 |
| Sangoma asterisk | >= 19.0.0, < 19.2.1 | 19.2.1 |
| debian linux | = 9.0 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| debian/ring(Debian:12) | < 20230206.0~ds1-1 | 20230206.0~ds1-1 |
| ubuntu/pjproject(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:16.04) | = 2.1.0.0.ast20130823-1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:16.04) | = 2.1.0.0.ast20130823-1+deb8u1build0.16.04.1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:16.04) | = 2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1 | No fix listed |
Show 30 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/pjproject(Ubuntu:Pro:18.04) | All versions | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.6~dfsg-2 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.7~dfsg-1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.7.1~dfsg-1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.7.1~dfsg-1build1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.7.2~dfsg-1 | No fix listed |
| ubuntu/pjproject(Ubuntu:Pro:18.04) | = 2.7.2~dfsg-1ubuntu0.1~esm1 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | < 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20170803.2.5fcfe3f~dfsg1-1 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20171024.1.eadbdeb~ds1-1 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20171129.2.cf5bbff~ds1-1 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20171129.2.cf5bbff~ds1-2 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20180119.1.9e06f94~ds1-1 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20180119.1.9e06f94~ds1-3 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20180222.1.7bffde2~ds2-2 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20180228.1.503da2b~ds1-1 | No fix listed |
| ubuntu/ring(Ubuntu:Pro:18.04) | = 20180228.1.503da2b~ds1-1build1 | No fix listed |
| ubuntu/ring(Ubuntu:20.04) | < 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 |
| ubuntu/ring(Ubuntu:20.04) | = 20190215.1.f152c98~ds1-1 | No fix listed |
| ubuntu/ring(Ubuntu:20.04) | = 20190215.1.f152c98~ds1-1build1 | No fix listed |
| ubuntu/ring(Ubuntu:20.04) | = 20190215.1.f152c98~ds1-1build2 | No fix listed |
| alpine/pjproject(Alpine:v3.16) | < 2.12-r0 | 2.12-r0 |
| alpine/pjproject(Alpine:v3.17) | < 2.12-r0 | 2.12-r0 |
| alpine/pjproject(Alpine:v3.18) | < 2.12-r0 | 2.12-r0 |
| alpine/pjproject(Alpine:v3.19) | < 2.12-r0 | 2.12-r0 |
| alpine/pjproject(Alpine:v3.20) | < 2.12-r0 | 2.12-r0 |
| alpine/pjproject(Alpine:v3.21) | < 2.12-r0 | 2.12-r0 |
| alpine/pjproject(Alpine:v3.22) | < 2.12-r0 | 2.12-r0 |
| alpine/pjproject(Alpine:v3.23) | < 2.12-r0 | 2.12-r0 |
| alpine/pjproject(Alpine:v3.24) | < 2.12-r0 | 2.12-r0 |
References
- Debian Security Tracker CVE-2022-21723 vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- 20220304 AST-2022-006: pjproject: unconstrained malformed multipart SIP message mailing-list patch third-party-advisory
- packetstormsecurity.com third-party-advisory vdb-entry
- [debian-lts-announce] 20220328 [SECURITY] [DLA 2962-1] pjproject security update mailing-list third-party-advisory
- GLSA-202210-37 third-party-advisory vendor-advisory
- [debian-lts-announce] 20221117 [SECURITY] [DLA 3194-1] asterisk security update mailing-list third-party-advisory
- DSA-5285 third-party-advisory vendor-advisory
- [debian-lts-announce] 20230829 [SECURITY] [DLA 3549-1] ring security update mailing-list
- lists.debian.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking