Bug 1222593 (CVE-2024-3119)

Summary: VUL-0: CVE-2024-3119: sngrep: buffer overflow due to improper handling of 'Call-ID' and 'X-Call-ID' SIP headers
Product: [openSUSE] openSUSE Distribution Reporter: SMASH SMASH <smash_bz>
Component: SecurityAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: Andreas.Stieger, thomas.leroy
Version: Leap 15.6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/401219/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1225537    

Description SMASH SMASH 2024-04-10 07:29:49 UTC
A buffer overflow vulnerability exists in all versions of sngrep since v0.4.2, due to improper handling of 'Call-ID' and 'X-Call-ID' SIP headers. The functions sip_get_callid and sip_get_xcallid in sip.c use the strncpy function to copy header contents into fixed-size buffers without checking the data length. This flaw allows remote attackers to execute arbitrary code or cause a denial of service (DoS) through specially crafted SIP messages.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-3119
https://www.cve.org/CVERecord?id=CVE-2024-3119
qhttps://github.com/irontec/sngrep/releases/tag/v1.8.1
https://pentraze.com/vulnerability-reports/
Comment 1 Thomas Leroy 2024-04-10 07:30:25 UTC
openSUSE:Factory and Backports are affected.
Comment 2 Martin Hauke 2024-04-10 08:32:20 UTC
should be fixed with
* SR#1166600                                                                                                                  * SR#1166602
Comment 3 Andreas Stieger 2024-05-28 21:39:29 UTC
Missing in Leap 15.6. Please process incoming submission or fix in Leap 15.6 in your chosen way. (bug 1225537)
Comment 4 Andreas Stieger 2024-05-29 11:16:03 UTC
As per bug 1225537 now also fixed in Leap 15.6, closing