Bug 2092771 (CVE-2022-31002)

Summary: CVE-2022-31002 sofia-sip: out-of-bounds read in url_canonize2() in url.c
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: sorensentor
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sofia-sip 1.13.8 Doc Type: If docs needed, set a value
Doc Text:
An out-of-bound read flaw was found in sofia-sip's url_canonize2() function in url.c. An attacker can send a message with evil sdp to FreeSWITCH, which may cause a crash. This type of crash could be caused by a URL ending with `%` triggering out-of-bound access.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-02 12:30:36 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: 2092774    
Bug Blocks:    

Description TEJ RATHI 2022-06-02 08:38:32 UTC
Prior to version 1.13.8, an attacker can send a message with evil sdp to FreeSWITCH, which may cause a crash. This type of crash may be caused by a URL ending with `%`. Version 1.13.8 contains a patch for this issue.

https://github.com/freeswitch/sofia-sip/commit/51841eb53679434a386fb2dcbca925dcc48d58ba
https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-g3x6-p824-x6hm

Comment 1 TEJ RATHI 2022-06-02 08:38:59 UTC
Created sofia-sip tracking bugs for this issue:

Affects: fedora-all [bug 2092774]

Comment 2 Product Security DevOps Team 2022-06-02 12:30:34 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.