Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add leaky vessels policy #93

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Conversation

shaneboulden
Copy link
Contributor

A policy for CVE-2024-21626, described here: https://access.redhat.com/security/cve/cve-2024-21626

You can test this image with a simple Containerfile:

FROM registry.access.redhat.com/ubi9/ubi

WORKDIR /proc/self/fd/7

A roxctl image check will then show that the image is vulnerable:

+--------------------------------+----------+--------------+--------------------------------+--------------------------------------+--------------------------------+
| Leaky Vessels: runc container  |   HIGH   |      -       |      CVE-2024-21626 is a       |      - Dockerfile line 'WORKDIR      |      Remove Containerfile      |
|            breakout            |          |              |   vulnerability in the runc    |        /proc/self/fd/7' found        |   lines resembling 'WORKDIR    |
|                                |          |              |   container runtime allowing   |                                      |  /proc/self/fd/[ID]' (with ID  |
|                                |          |              |  an attacker to break out of   |                                      | being a system dependent file  |
|                                |          |              |  the container isolation and   |                                      |          descriptor)           |
|                                |          |              |  achieve full root RCE via a   |                                      |                                |
|                                |          |              |  crafted image that exploits   |                                      |                                |
|                                |          |              |  an issue within the WORKDIR   |                                      |                                |
|                                |          |              |    instruction's handling.     |                                      |                                |
+--------------------------------+----------+--------------+--------------------------------+--------------------------------------+--------------------------------+

@github-actions github-actions bot added the external-contributor To add to issues and PRs from external contributors label Feb 2, 2024
@srcporter
Copy link
Collaborator

Nice, thanks for the quick policy

@srcporter srcporter merged commit ec82103 into stackrox:main Feb 2, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external-contributor To add to issues and PRs from external contributors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants