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

<archive> tag can extract into host file-system #2701

Open
rkapl opened this issue Dec 23, 2024 · 0 comments
Open

<archive> tag can extract into host file-system #2701

rkapl opened this issue Dec 23, 2024 · 0 comments

Comments

@rkapl
Copy link

rkapl commented Dec 23, 2024

Problem description

<archive name="etc.tar" target_dir="/etc" /> extract's into host FS.

The documentation correctly gives examples without the leading /, but this is still dangerous and unexpected behavior.

Expected behaviour

It extracts into guest FS, even if the path is absolute.

OS and Software information

  • KIWI version: KIWI (next generation) version 9.24.43, seems to be present in master too
  • Operating system host version: SUSE Leap 15.5
  • Operating system target version: SUSE Leap 15.5
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

No branches or pull requests

1 participant