Bug 2280190 (CVE-2024-5154)

Summary: CVE-2024-5154 cri-o: malicious container can create symlink on host
Product: [Other] Security Response Reporter: Robb Gatica <rgatica>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: dfreiber, drow, jburrell, rogbas, security-response-team, sidakwo, sreber, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cri-o 1.30.1, cri-o 1.29.5, cri-o 1.28.7 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in cri-o. A malicious container can create a symbolic link to arbitrary files on the host via directory traversal (“../“). This flaw allows the container to read and write to arbitrary files on the host system.
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: 2290761, 2290762, 2290763, 2290764, 2290765, 2290766, 2290767, 2290768    
Bug Blocks: 2280515    

Description Robb Gatica 2024-05-13 04:56:30 UTC
A container breakout was reported in cri-o, where a malicious container image can trick cri-o into creating a symlink on the host. The reproducer that was provided created the following symlink: /root/mtab -> /proc/mounts.

Comment 5 Anten Skrabec 2024-06-06 18:13:47 UTC
Created cri-o tracking bugs for this issue:

Affects: fedora-all [bug 2290762]


Created cri-o:1.21/cri-o tracking bugs for this issue:

Affects: epel-all [bug 2290761]


Created cri-o:1.22/cri-o tracking bugs for this issue:

Affects: fedora-all [bug 2290763]


Created cri-o:1.23/cri-o tracking bugs for this issue:

Affects: fedora-all [bug 2290764]


Created cri-o:1.24/cri-o tracking bugs for this issue:

Affects: fedora-all [bug 2290765]


Created cri-o:1.25/cri-o tracking bugs for this issue:

Affects: fedora-all [bug 2290766]


Created cri-o:1.26/cri-o tracking bugs for this issue:

Affects: fedora-all [bug 2290767]


Created cri-o:1.27/cri-o tracking bugs for this issue:

Affects: fedora-all [bug 2290768]

Comment 6 errata-xmlrpc 2024-06-11 16:52:22 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.15

Via RHSA-2024:3676 https://access.redhat.com/errata/RHSA-2024:3676

Comment 7 errata-xmlrpc 2024-06-13 02:25:15 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.14

Via RHSA-2024:3700 https://access.redhat.com/errata/RHSA-2024:3700

Comment 8 errata-xmlrpc 2024-06-27 02:25:01 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.12

Via RHSA-2024:4008 https://access.redhat.com/errata/RHSA-2024:4008

Comment 9 errata-xmlrpc 2024-07-17 01:46:39 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.13

Via RHSA-2024:4486 https://access.redhat.com/errata/RHSA-2024:4486

Comment 10 errata-xmlrpc 2024-12-11 01:09:47 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.17

Via RHSA-2024:10818 https://access.redhat.com/errata/RHSA-2024:10818