[Bug 1636207] [NEW] Patch proposal to do not apply symbolic links included in zip files.

Gerard Wagener haegardev at gmail.com
Mon Oct 24 13:25:37 UTC 2016


Public bug reported:

Zip files might include symbolic links which could be abused by an
attacker to escape from restricted directories and/or from restricted
environments. The attached patch includes a command line option -g which
does not apply the symbolic links when zip file is extracted. In case a
zip file includes a symbolic link a file is created instead containing
the target of the symbolic link.

** Affects: unzip (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "do_not_apply_symlinks.patch"
   https://bugs.launchpad.net/bugs/1636207/+attachment/4766457/+files/do_not_apply_symlinks.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unzip in Ubuntu.
https://bugs.launchpad.net/bugs/1636207

Title:
  Patch proposal to do not apply symbolic links included in zip files.

Status in unzip package in Ubuntu:
  New

Bug description:
  Zip files might include symbolic links which could be abused by an
  attacker to escape from restricted directories and/or from restricted
  environments. The attached patch includes a command line option -g
  which does not apply the symbolic links when zip file is extracted. In
  case a zip file includes a symbolic link a file is created instead
  containing the target of the symbolic link.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/1636207/+subscriptions



More information about the foundations-bugs mailing list