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

chroot: follow symlinks for the last component #114

Merged
merged 1 commit into from
Sep 30, 2019

Conversation

giuseppe
Copy link
Member

the current implementation of chroot_realpath skipped resolving
symlinks for the last path component. A malicious image could create
files on the host.

Closes: #111

Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com

the current implementation of chroot_realpath skipped resolving
symlinks for the last path component.  A malicious image could create
files on the host.

Closes: containers#111

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@rhatdan
Copy link
Member

rhatdan commented Sep 30, 2019

LGTM

@rhatdan rhatdan merged commit e93db0f into containers:master Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

crun follows symlinks when creating mount points
2 participants