Bug 1217929 (CVE-2023-49355)

Summary: VUL-0: CVE-2023-49355: jq: one-byte out-of-bounds write in decToString in decNumber/decNumber.c
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED UPSTREAM QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P5 - None CC: gabriele.sonnu
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/387541/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2023-12-11 08:40:58 UTC
decToString in decNumber/decNumber.c in jq 88f01a7 has a one-byte out-of-bounds write via the " []-1.2e-1111111111" input.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-49355
Comment 1 Gabriele Sonnu 2023-12-11 08:42:43 UTC
Vulnerability report:

https://github.com/linzc21/bug-reports/blob/main/reports/jq/1.7-37-g88f01a7/heap-buffer-overflow/CVE-2023-49355.md

Only openSUSE:Factory/jq contains the decNumber.c file, and the poc doesn't trigger anything.

Closing this.