CVE-2021-37706
Published: 22 December 2021
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 affected versions if the incoming STUN message contains an ERROR-CODE attribute, the header length is not checked before performing a subtraction operation, potentially resulting in an integer underflow scenario. This issue affects all users that use STUN. A malicious actor located within the victim’s network may forge and send a specially crafted UDP (STUN) message that could remotely execute arbitrary code on the victim’s machine. Users are advised to upgrade as soon as possible. There are no known workarounds.
Priority
Status
Package | Release | Status |
---|---|---|
pjproject Launchpad, Ubuntu, Debian |
bionic |
Needs triage
|
trusty |
Ignored
(end of standard support)
|
|
upstream |
Needs triage
|
|
xenial |
Needs triage
|
|
ring Launchpad, Ubuntu, Debian |
trusty |
Ignored
(end of standard support)
|
xenial |
Ignored
(end of standard support)
|
|
impish |
Ignored
(end of life)
|
|
upstream |
Needs triage
|
|
bionic |
Released
(20180228.1.503da2b~ds1-1ubuntu0.1~esm1)
Available with Ubuntu Pro |
|
focal |
Released
(20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1)
|
|
lunar |
Released
(20230206.0~ds1-5ubuntu0.1)
|
|
mantic |
Released
(20230206.0~ds2-1.3ubuntu0.1)
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 9.8 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37706
- https://github.com/pjsip/pjproject/security/advisories/GHSA-2qpg-f6wf-w984
- https://github.com/pjsip/pjproject/commit/15663e3f37091069b8c98a7fce680dc04bc8e865
- https://ubuntu.com/security/notices/USN-6422-1
- https://ubuntu.com/security/notices/USN-6422-2
- NVD
- Launchpad
- Debian