Bug 2092770 (CVE-2022-31003) - CVE-2022-31003 sofia-sip: heap-buffer-overflow in sdp_parse() in sdp_parse.c
Summary: CVE-2022-31003 sofia-sip: heap-buffer-overflow in sdp_parse() in sdp_parse.c
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2022-31003
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: 2092775
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-02 08:38 UTC by TEJ RATHI
Modified: 2022-06-02 12:29 UTC (History)
1 user (show)

Fixed In Version: sofia-sip 1.13.8
Doc Type: If docs needed, set a value
Doc Text:
A heap buffer overflow flaw was found in sofia-sip's sdp_parse() function in sdp_parse.c. While parsing each line of a sdp message, `rest = record + 2` will access the memory behind `\0` and cause an out-of-bounds write. An attacker can send a message with evil sdp to FreeSWITCH, causing a crash or more serious consequence, such as remote code execution.
Clone Of:
Environment:
Last Closed: 2022-06-02 12:29:46 UTC
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2022-06-02 08:38:29 UTC
Prior to version 1.13.8, when parsing each line of a sdp message, `rest = record + 2` will access the memory behind `\0` and cause an out-of-bounds write. An attacker can send a message with evil sdp to FreeSWITCH, causing a crash or more serious consequence, such as remote code execution. Version 1.13.8 contains a patch for this issue.

https://github.com/freeswitch/sofia-sip/commit/907f2ac0ee504c93ebfefd676b4632a3575908c9
https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-8w5j-6g2j-pxcp

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

Affects: fedora-all [bug 2092775]

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