Bug 2035052 (CVE-2021-37706) - CVE-2021-37706 pjproject: Header length is not checked in STUN message ERROR-CODE attribute
Summary: CVE-2021-37706 pjproject: Header length is not checked in STUN message ERROR-...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-37706
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2035053 2035054
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-22 19:50 UTC by Pedro Sampaio
Modified: 2021-12-22 20:40 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-12-22 20:40:48 UTC
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2021-12-22 19:50:07 UTC
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.

https://github.com/pjsip/pjproject/security/advisories/GHSA-2qpg-f6wf-w984
https://github.com/pjsip/pjproject/commit/15663e3f37091069b8c98a7fce680dc04bc8e865

Comment 1 Pedro Sampaio 2021-12-22 19:50:23 UTC
Created pjproject tracking bugs for this issue:

Affects: epel-all [bug 2035054]
Affects: fedora-all [bug 2035053]

Comment 2 Product Security DevOps Team 2021-12-22 20:40:46 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.