Bug 2369630 (CVE-2025-40908)

Summary: CVE-2025-40908 yaml-libyaml: LibYAML Perl File Modification Vulnerability
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in yaml-libyaml. The component uses a two-argument `open` function when parsing YAML files, which allows an attacker to modify existing files on the system. This flaw allows a local attacker to provide a crafted YAML file as input. This issue can result in unauthorized modification of files.
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: 2369737, 2369738, 2369739, 2369740    
Bug Blocks:    

Description OSIDB Bzimport 2025-06-01 14:01:04 UTC
YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified

Comment 7 errata-xmlrpc 2025-06-23 02:22:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:9330 https://access.redhat.com/errata/RHSA-2025:9330

Comment 8 errata-xmlrpc 2025-06-23 02:33:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:9329 https://access.redhat.com/errata/RHSA-2025:9329

Comment 9 errata-xmlrpc 2025-06-23 02:52:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2025:9338 https://access.redhat.com/errata/RHSA-2025:9338