Bug 1227613 (CVE-2024-38517)

Summary: VUL-0: CVE-2024-38517: rapidjson: privilege escalation via integer underflow in GenericReader:ParseNumber()
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: P5 - None CC: andrea.mattiazzo
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/413449/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-07-10 09:20:49 UTC
Tencent RapidJSON is vulnerable to privilege escalation due to an integer underflow in the `GenericReader::ParseNumber()` function of `include/rapidjson/reader.h` when parsing JSON text from a stream. An attacker needs to send the victim a crafted file which needs to be opened; this triggers the integer underflow vulnerability (when the file is parsed), leading to elevation of privilege.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-38517
https://www.cve.org/CVERecord?id=CVE-2024-38517
https://github.com/Tencent/rapidjson/pull/1261/commits/8269bc2bc289e9d343bae51cdf6d23ef0950e001
https://github.com/fmalita/rapidjson/commit/8269bc2bc289e9d343bae51cdf6d23ef0950e001
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-38517
https://bugzilla.redhat.com/show_bug.cgi?id=2296854
Comment 1 Andrea Mattiazzo 2024-07-10 09:21:21 UTC
Already fixed, closing.