Crun: crun: tmpcopyup follows a second path lookup and copies image files onto the host
NIST has not reviewed this entry yet, so scores and affected versions may be missing or may change.
A flaw was found in crun. When copying files onto a tmpfs mounted with tmpcopyup, crun opens the destination a second time by name. A container that shares a writable volume with the container being created can change that path between the two lookups, so crun copies image files onto host files, including files under /proc/sys.
Time-of-check Time-of-use (TOCTOU) Race Condition CWE-367
The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 4 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Red Hat Red Hat Enterprise Linux 10 | Software | not recorded | |
| Red Hat Red Hat Enterprise Linux 8 | Software | not recorded | |
| Red Hat Red Hat Enterprise Linux 9 | Software | not recorded | |
| Red Hat Red Hat Hardened Images | Software | not recorded |
The 7.8 severity score (high) from redhat.com, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | On the machine | The attacker needs access to the computer itself, for example a login or a file they can get you to open. |
| How hard it is | High | Hard to carry out. It depends on conditions the attacker cannot control. |
| Login needed | Low | The attacker needs an ordinary user account. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Changed | The attacker can get beyond the vulnerable program and affect other parts of the system. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 1.1 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 6.0 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 2 sources for this flaw, none tagged as a vendor patch.