Bug 1954173 (CVE-2020-36325)

Summary: CVE-2020-36325 jansson: out-of-bounds read in json_loads() due to a parsing error
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: csutherl, gzaronik, janisozaur+redhat, jclere, jiri, jwon, krathod, lxin, mturk, pjindal, rkhan, sean, snemec, szappis, todoleza
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in jansson. An out-of-bounds read-access bug is possible due to a parsing error in json_loads. The highest threat from this vulnerability is do system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-30 14:42:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1954592, 1954174, 1954175    
Bug Blocks: 1954176    

Description Guilherme de Almeida Suckevicz 2021-04-27 18:04:00 UTC
An issue was discovered in Jansson through 2.13.1. Due to a parsing error in json_loads, there's an out-of-bounds read-access bug.

Reference:
https://github.com/akheron/jansson/issues/548

Comment 1 Guilherme de Almeida Suckevicz 2021-04-27 18:04:28 UTC
Created jansson tracking bugs for this issue:

Affects: fedora-all [bug 1954174]


Created mingw-jansson tracking bugs for this issue:

Affects: fedora-all [bug 1954175]

Comment 3 Riccardo Schirone 2021-04-30 14:42:06 UTC
Statement:

A CVE was incorrectly assigned for this issue, which was a problem in the fuzzer code and not in the jansson library itself.

Comment 4 Riccardo Schirone 2021-04-30 14:43:59 UTC
See https://github.com/akheron/jansson/issues/548#issuecomment-828007511 for more details.