-
Notifications
You must be signed in to change notification settings - Fork 762
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
Bump containerd to v1.5.7 #3569
Conversation
Do we have/need a |
Fixes: GHSA-c2h3-6mxw-7mvq Vulnerable versions: >= 1.5.0, < 1.5.7 Patched version: 1.5.7 `Impact` A bug was found in containerd where container root directories and some plugins had insufficiently restricted permissions, allowing otherwise unprivileged Linux users to traverse directory contents and execute programs. When containers included executable programs with extended permission bits (such as setuid), unprivileged Linux users could discover and execute those programs. When the UID of an unprivileged Linux user on the host collided with the file owner or group inside a container, the unprivileged Linux user on the host could discover, read, and modify those files. `Patches` This vulnerability has been fixed in containerd 1.4.11 and containerd 1.5.7. Users should update to these version when they are released and may restart containers or update directory permissions to mitigate the vulnerability. `Workarounds` Limit access to the host to trusted users. Update directory permission on container bundles directories. Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lsm5, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
BTW This Vulnerability looks like it did not effect Buildah. |
@rhatdan ack, now that you mention it, I think I remember someone else saying something to that effect. But I was seeing that annoying github security warning, hence the PR. |
Fixes: GHSA-c2h3-6mxw-7mvq
Vulnerable versions: >= 1.5.0, < 1.5.7
Patched version: 1.5.7
Impact
A bug was found in containerd where container root directories and
some plugins had insufficiently restricted permissions, allowing
otherwise unprivileged Linux users to traverse directory contents
and execute programs. When containers included executable programs
with extended permission bits (such as setuid), unprivileged Linux
users could discover and execute those programs. When the UID of
an unprivileged Linux user on the host collided with the file
owner or group inside a container, the unprivileged Linux user on
the host could discover, read, and modify those files.
Patches
This vulnerability has been fixed in containerd 1.4.11 and
containerd 1.5.7. Users should update to these version when they
are released and may restart containers or update directory
permissions to mitigate the vulnerability.
Workarounds
Limit access to the host to trusted users. Update directory
permission on container bundles directories.
Signed-off-by: Lokesh Mandvekar lsm5@fedoraproject.org
What type of PR is this?
What this PR does / why we need it:
Fix for GHSA-c2h3-6mxw-7mvq
How to verify it
Check if containerd v1.5.7 is correctly vendored (I think)
Which issue(s) this PR fixes:
Fixes GHSA-c2h3-6mxw-7mvq
Special notes for your reviewer:
Does this PR introduce a user-facing change?
None
@nalind @vrothberg @TomSweeneyRedHat @rhatdan PTAL