Bug 2057191 (CVE-2022-23608)

Summary: CVE-2022-23608 pjsip: possible infinite loop in dialob list
Product: [Other] Security Response Reporter: Anten Skrabec <askrabec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: bennie.joubert, jsmith.fedora, rbryant
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-28 23:45:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2069391, 2069392, 2069396, 2069393, 2069394, 2069395    
Bug Blocks: 2057192    

Description Anten Skrabec 2022-02-22 22:21:54 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 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.

https://github.com/pjsip/pjproject/security/advisories/GHSA-ffff-m5fm-qm62
https://github.com/pjsip/pjproject/commit/db3235953baa56d2fb0e276ca510fefca751643f

Comment 1 Pedro Sampaio 2022-03-28 20:16:08 UTC
Created asterisk tracking bugs for this issue:

Affects: fedora-34 [bug 2069393]
Affects: fedora-35 [bug 2069395]


Created pjproject tracking bugs for this issue:

Affects: epel-7 [bug 2069391]
Affects: epel-8 [bug 2069392]
Affects: fedora-34 [bug 2069394]
Affects: fedora-35 [bug 2069396]

Comment 2 Product Security DevOps Team 2022-03-28 23:45:29 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.