In GNU patch through 2.7.6, the following of symlinks is mishandled in certain cases other than input files. This affects inp.c and util.c.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Patch | Gnu | * | 2.7.6 (including) |
Red Hat Enterprise Linux 8 | RedHat | patch-0:2.7.6-11.el8 | * |
Patch | Ubuntu | bionic | * |
Patch | Ubuntu | devel | * |
Patch | Ubuntu | disco | * |
Patch | Ubuntu | trusty | * |
Patch | Ubuntu | trusty/esm | * |
Patch | Ubuntu | upstream | * |
Patch | Ubuntu | xenial | * |