Stephane Chazelas discovered a bug in the environment handling in Perl. Perl provides a Perl-space hash variable, %ENV, in which environment variables can be looked up. If a variable appears twice in envp, only the last value would appear in %ENV, but getenv would return the first. Perl's taint security mechanism would be applied to the value in %ENV, but not to the other rest of the environment. This could result in an ambiguous environment causing environment variables to be propagated to subprocesses, despite the protections supposedly offered by taint checking. With this update Perl changes the behavior to match the following: a) %ENV is populated with the first environment variable, as getenv would return. b) Duplicate environment entries are removed. References: * http://perl5.git.perl.org/perl.git/commit/ae37b791a73a9e78dedb89fb2429d2628cf58076 * https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2381 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> |
||
---|---|---|
.. | ||
010-musl-compat.patch | ||
020-host-libc-dir-moved-debian+derivatives.patch | ||
100-fix-cross-compile-endianness-detection.patch | ||
110-always_use_miniperl.patch | ||
300-add-relink-hack.patch | ||
310-recompile-hack.patch | ||
700-tie_fetch_count_t-handle_missing_crypt.patch | ||
710-threads_join-skip_ps_on_busybox.patch | ||
900-CVE-2015-8607.patch | ||
901-CVE-2016-2381.patch |