Bug 2292339 (CVE-2024-35328)

Summary: CVE-2024-35328 libyaml: denial of service in yaml_parser_parse of the file /src/libyaml/src/parser.c.
Product: [Other] Security Response Reporter: Rohit Keshri <rkeshri>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: agarcial, aoconnor, aprice, asegurap, bdettelb, caswilli, dfreiber, dhalasz, dkuc, drow, fjansen, hkataria, jburrell, jmitchel, jsamir, jsherril, jtanner, kaycoth, kholdawa, kshier, luizcosta, mpierce, nweather, orabin, psegedy, stcannon, sthirugn, vkrizan, vkumar, vmugicag, xiaoxwan, yguenane, zzhou
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 the libyaml library. Setting a YAML string with the yaml_parser_set_input_string function to be parsed by the yaml_parser_parse function can cause an infinite loop, resulting in a denial of service in the application linked to the library.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2292342, 2292343, 2292344, 2292345    
Bug Blocks: 2292340    

Description Rohit Keshri 2024-06-14 04:54:21 UTC
libyaml v0.2.5 is vulnerable to DDOS. Affected by this issue is the function yaml_parser_parse of the file /src/libyaml/src/parser.c.

References:
https://github.com/idhyt/pocs/blob/main/libyaml/CVE-2024-35328.c
https://github.com/yaml/libyaml/commit/625fcfe9edfbe8576ec6ef8d2d6adaed4bb86403

Comment 1 Rohit Keshri 2024-06-14 05:37:17 UTC
Created R-yaml tracking bugs for this issue:

Affects: fedora-all [bug 2292344]


Created ghc-yaml tracking bugs for this issue:

Affects: epel-all [bug 2292343]


Created libyaml tracking bugs for this issue:

Affects: fedora-all [bug 2292342]


Created python-ruamel-yaml-clib tracking bugs for this issue:

Affects: fedora-all [bug 2292345]