Bug 2577549 - CVE-2026-133553 crun: crun: tmpcopyup follows a second path lookup and copies image files onto the host [fedora-all]
Summary: CVE-2026-133553 crun: crun: tmpcopyup follows a second path lookup and copies...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: crun
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Giuseppe Scrivano
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["ba1e89c8-25d5-48c5-ad90-2...
Depends On:
Blocks: CVE-2026-133553
TreeView+ depends on / blocked
 
Reported: 2026-11-20 04:04 UTC by Ganesh
Modified: 2026-11-20 04:04 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ganesh 2026-11-20 04:04:38 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A flaw was found in crun. For a tmpfs mount with tmpcopyup, process_single_mount() opens the destination and attaches the tmpfs, and handle_tmpcopyup() then opens that destination again by name without O_NOFOLLOW and copies the image files there. A container that shares a writable volume with the container being created can rename a path component to a symlink between the two lookups, so crun, running as host root, writes the image files onto host files. Those files include /proc/sys and files on a volume mounted read-only in another container. The copy keeps the source owner and mode, including the set-user-ID bit. The same second lookup by name is used for the recursive mount options rro, rnosuid, rnodev, and rnoexec. The lookup was added in commit 1fac50d, crun 0.9. Releases through 1.30.1 are affected, and current upstream main still has the open.


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