Bug 1226364 - VUL-0: CVE-2024-35328: petsc: libyaml: denial of service in yaml_parser_parse of the file /src/libyaml/src/parser.c.
Summary: VUL-0: CVE-2024-35328: petsc: libyaml: denial of service in yaml_parser_parse...
Status: REOPENED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Security (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P4 - Low : Normal (vote)
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/410659/
Whiteboard:
Keywords:
Depends on:
Blocks: CVE-2024-35328
  Show dependency treegraph
 
Reported: 2024-06-14 14:23 UTC by Camila Camargo de Matos
Modified: 2024-06-19 10:37 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Camila Camargo de Matos 2024-06-14 14:23:57 UTC
+++ This bug was initially created as a clone of Bug #1226341 +++

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:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-35328
https://www.cve.org/CVERecord?id=CVE-2024-35328
https://github.com/idhyt/pocs/blob/main/libyaml/CVE-2024-35328.c
https://bugzilla.redhat.com/show_bug.cgi?id=2292339
Comment 3 Egbert Eich 2024-06-18 07:15:19 UTC
The 'DDOS' claimed in https://nvd.nist.gov/vuln/detail/CVE-2024-35328 is a bit of a dog-whistle in the context of petsc as the YAML needs to be passed either in an environment variable or from a file that gets specified on the command line. In the context of this I'd qualify this as a 'garden variety' bug.
Furthermore, it is not relevant for any enterprise product as the latest version that has been shipped with SLE 15 (SP3) was 3.14.5. This version is not susceptible as it requires an external libyaml which is optional. We haven't enabled it. 
PETSc has been dropped from SLE since.
The oS:Factory package is hopelessly outdated (3.18.5) and would require updating (current version 3.21.2). 
It should use an external libyaml which - if the devel package is provided during building - would be auto-detected.
An update with the appropriated changes will be made, however with low priority.
Comment 4 Egbert Eich 2024-06-18 17:38:41 UTC
Done - used time during meetings.
SR#1181550.