CVE-2022-24763
High · 7.5CVSS
7.5
EPSS
2.1%
Published
Mar 30, 2022
CISA due date
—
Cloudanix analysis
A flaw in a communication library can let attackers crash systems that use it by sending bad data.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Denial of service via malformed XML input to the parser, leading to crash or resource exhaustion in versions 2.12 and prior.
Why it matters to the business
Potential disruption of services relying on PJSIP for multimedia communication, affecting availability for affected products like GitLab and PJProject.
How an attack unfolds
Attacker sends crafted XML payload to an application consuming PJSIP's XML parsing functionality, triggering the vulnerability and causing service outage.
How to fix it
Update to fixed versions such as pjsip/pjproject 43c745789d291496fe1c3ed8a2c0dd6305260b32 or GitLab 14.10.5 where applicable.
How to confirm the fix worked
Verify updated package versions and test XML parsing with known problematic inputs to confirm resolution.
Typical attack path
- Identify services using vulnerable PJSIP version
- Craft malicious XML input
- Transmit payload to the target application
- Observe service disruption or crash
How to detect it
Monitor application logs for unexpected crashes during XML processing; check for high CPU or memory usage spikes correlated with network traffic.
What your security team should do
- Apply updates to fixed versions immediately
- Review applications using PJSIP for XML parsing usage
- Monitor for service availability issues
The record
PJSIP is a free and open source multimedia communication library written in the C language. Versions 2.12 and prior contain a denial-of-service vulnerability that affects PJSIP users that consume PJSIP's XML parsing in their apps. Users are advised to update. There are no known workarounds.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Alpine:v3.16 | pjproject | 0 | 2.12.1-r0 |
| Alpine:v3.17 | pjproject | 0 | 2.12.1-r0 |
| Alpine:v3.18 | pjproject | 0 | 2.12.1-r0 |
| Alpine:v3.19 | pjproject | 0 | 2.12.1-r0 |
| Alpine:v3.20 | pjproject | 0 | 2.12.1-r0 |
| Alpine:v3.21 | pjproject | 0 | 2.12.1-r0 |
| Alpine:v3.22 | pjproject | 0 | 2.12.1-r0 |
| Debian:10 | asterisk | 0 | 1:16.28.0~dfsg-0+deb10u1 |
| Debian:10 | ring | 0 | 20190215.1.f152c98~ds1-1+deb10u2 |
| Debian:11 | asterisk | 0 | 1:16.28.0~dfsg-0+deb11u1 |
| Debian:11 | ring | 0 | 20210112.2.b757bac~ds1-1+deb11u1 |
| Debian:12 | ring | 0 | 20230206.0~ds1-1 |
| Debian:9 | pjproject | 0 | 2.5.5~dfsg-6+deb9u5 |
| Ubuntu:16.04:LTS | pjproject | 0 | No fix |
| Ubuntu:18.04:LTS | pjproject | 0 | No fix |
| Ubuntu:20.04:LTS | ring | 0 | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 |
| Ubuntu:Pro:16.04:LTS | pjproject | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | pjproject | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | ring | 0 | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 |
Related vulnerabilities
- CVE-2022-39269 PJSIP is a free and open source multimedia communication library written in C. Also affects pjproject
- CVE-2008-7220 Unspecified vulnerability in Prototype JavaScript framework (prototypejs) before 1.6.0.2… Also affects asterisk
- CVE-2008-1289 Multiple buffer overflows in Asterisk Open Source 1.4.x before 1.4.18.1 and 1.4.19-rc3… Also affects asterisk
- CVE-2008-0095 The SIP channel driver in Asterisk Open Source 1.4.x before 1.4.17, Business Edition… Also affects asterisk
- CVE-2007-2293 Multiple stack-based buffer overflows in the process_sdp function in chan_sip.c of the… Also affects asterisk
- CVE-2007-1561 The channel driver in Asterisk before 1.2.17 and 1.4.x before 1.4.2 allows remote… Also affects asterisk
- CVE-2007-1306 Asterisk 1.4 before 1.4.1 and 1.2 before 1.2.16 allows remote attackers to cause a denial… Also affects asterisk
- CVE-2006-5444 Integer overflow in the get_input function in the Skinny channel driver (chan_skinny.c)… Also affects asterisk