CVE-2016-1238

HIGH

Description

(1) cpan/Archive-Tar/bin/ptar, (2) cpan/Archive-Tar/bin/ptardiff, (3) cpan/Archive-Tar/bin/ptargrep, (4) cpan/CPAN/scripts/cpan, (5) cpan/Digest-SHA/shasum, (6) cpan/Encode/bin/enc2xs, (7) cpan/Encode/bin/encguess, (8) cpan/Encode/bin/piconv, (9) cpan/Encode/bin/ucmlint, (10) cpan/Encode/bin/unidump, (11) cpan/ExtUtils-MakeMaker/bin/instmodsh, (12) cpan/IO-Compress/bin/zipdetails, (13) cpan/JSON-PP/bin/json_pp, (14) cpan/Test-Harness/bin/prove, (15) dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp, (16) dist/Module-CoreList/corelist, (17) ext/Pod-Html/bin/pod2html, (18) utils/c2ph.PL, (19) utils/h2ph.PL, (20) utils/h2xs.PL, (21) utils/libnetcfg.PL, (22) utils/perlbug.PL, (23) utils/perldoc.PL, (24) utils/perlivp.PL, and (25) utils/splain.PL in Perl 5.x before 5.22.3-RC2 and 5.24 before 5.24.1-RC2 do not properly remove . (period) characters from the end of the includes directory array, which might allow local users to gain privileges via a Trojan horse module under the current working directory.

References

http://perl5.git.perl.org/perl.git/commit/cee96d52c39b1e7b36e1c62d38bcd8d86e9a41ab

http://www.debian.org/security/2016/dsa-3628

http://www.nntp.perl.org/group/perl.perl5.porters/2016/07/msg238271.html

http://www.securityfocus.com/bid/92136

http://www.securitytracker.com/id/1036440

https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731

https://lists.apache.org/thread.html/[email protected]%3Cannounce.apache.org%3E

https://lists.debian.org/debian-lts-announce/2018/11/msg00016.html

https://lists.fedoraproject.org/archives/list/[email protected]/message/2FBQOCV3GBAN2EYZUM3CFDJ4ECA3GZOK/

https://lists.fedoraproject.org/archives/list/[email protected]/message/DOFRQWJRP2NQJEYEWOMECVW3HAMD5SYN/

https://lists.fedoraproject.org/archives/list/[email protected]/message/TZBNQH3DMI7HDELJAZ4TFJJANHXOEDWH/

https://rt.perl.org/Public/Bug/Display.html?id=127834

https://security.gentoo.org/glsa/201701-75

https://security.gentoo.org/glsa/201812-07

Details

Source: MITRE

Published: 2016-08-02

Updated: 2018-12-16

Type: CWE-264

Risk Information

CVSS v2.0

Base Score: 7.2

Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C

Impact Score: 10

Exploitability Score: 3.9

Severity: HIGH

CVSS v3.0

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 1.8

Severity: HIGH