Bug 1223888 (CVE-2024-34403)

Summary: VUL-0: CVE-2024-34403: uriparser: integer overflow via a long string in ComposeQueryMallocExMm() in UriQuery.c
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Major    
Priority: P3 - Medium CC: amajer, andrea.mattiazzo, camila.matos, gus.kenion
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/404209/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-34403:8.6:(AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-05-03 16:49:17 UTC
An issue was discovered in uriparser through 0.9.7. ComposeQueryMallocExMm in UriQuery.c has an integer overflow via a long string.

References:
https://github.com/uriparser/uriparser/issues/183
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-34403
https://www.cve.org/CVERecord?id=CVE-2024-34403
https://github.com/uriparser/uriparser/pull/186
https://bugzilla.redhat.com/show_bug.cgi?id=2278808
Comment 2 Camila Camargo de Matos 2024-05-03 16:53:01 UTC
For older versions of uriparser, ones that do not include commit b342356bf3e [0], it seems like the vulnerable code lies in 'ComposeQueryMallocEx' rather than in 'ComposeQueryMallocExMm'.


[0] https://github.com/uriparser/uriparser/commit/b342356bf3e53d719f31c77e7bcf4ab6a456fcd5
Comment 12 Andrea Mattiazzo 2024-06-18 09:04:12 UTC
uriparser in Factory is at v0.9.8. All done, closing.