Bug 2292339 (CVE-2024-35328) - CVE-2024-35328 libyaml: denial of service in yaml_parser_parse of the file /src/libyaml/src/parser.c.
Summary: CVE-2024-35328 libyaml: denial of service in yaml_parser_parse of the file /s...
Keywords:
Status: NEW
Alias: CVE-2024-35328
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2292342 2292343 2292344 2292345
Blocks: 2292340
TreeView+ depends on / blocked
 
Reported: 2024-06-14 04:54 UTC by Rohit Keshri
Modified: 2024-06-24 17:58 UTC (History)
33 users (show)

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.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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]


Note You need to log in before you can comment on or make changes to this bug.