ALAS-2013-177

Related Vulnerabilities: CVE-2012-5195   CVE-2012-5526   CVE-2012-6329   CVE-2013-1667  

A heap overflow flaw was found in Perl. If a Perl application allowed user input to control the count argument of the string repeat operator, an attacker could cause the application to crash or, potentially, execute arbitrary code with the privileges of the user running the application. (CVE-2012-5195) A denial of service flaw was found in the way Perl's rehashing code implementation, responsible for recalculation of hash keys and redistribution of hash content, handled certain input. If an attacker supplied specially-crafted input to be used as hash keys by a Perl application, it could cause excessive memory consumption. (CVE-2013-1667) It was found that the Perl CGI module, used to handle Common Gateway Interface requests and responses, incorrectly sanitized the values for Set-Cookie and P3P headers. If a Perl application using the CGI module reused cookies values and accepted untrusted input from web browsers, a remote attacker could use this flaw to alter member items of the cookie or add new items. (CVE-2012-5526) It was found that the Perl Locale::Maketext module, used to localize Perl applications, did not properly handle backslashes or fully-qualified method names. An attacker could possibly use this flaw to execute arbitrary Perl code with the privileges of a Perl application that uses untrusted Locale::Maketext templates. (CVE-2012-6329)

ALAS-2013-177


Amazon Linux AMI Security Advisory: ALAS-2013-177
Advisory Release Date: 2013-04-04 11:10 Pacific
Advisory Updated Date: 2014-09-15 22:48 Pacific
Severity: Medium

Issue Overview:

A heap overflow flaw was found in Perl. If a Perl application allowed user input to control the count argument of the string repeat operator, an attacker could cause the application to crash or, potentially, execute arbitrary code with the privileges of the user running the application. (CVE-2012-5195)

A denial of service flaw was found in the way Perl's rehashing code implementation, responsible for recalculation of hash keys and redistribution of hash content, handled certain input. If an attacker supplied specially-crafted input to be used as hash keys by a Perl application, it could cause excessive memory consumption. (CVE-2013-1667)

It was found that the Perl CGI module, used to handle Common Gateway Interface requests and responses, incorrectly sanitized the values for Set-Cookie and P3P headers. If a Perl application using the CGI module reused cookies values and accepted untrusted input from web browsers, a remote attacker could use this flaw to alter member items of the cookie or add new items. (CVE-2012-5526)

It was found that the Perl Locale::Maketext module, used to localize Perl applications, did not properly handle backslashes or fully-qualified method names. An attacker could possibly use this flaw to execute arbitrary Perl code with the privileges of a Perl application that uses untrusted Locale::Maketext templates. (CVE-2012-6329)


Affected Packages:

perl


Issue Correction:
Run yum update perl to update your system.

New Packages:
i686:
    perl-suidperl-5.10.1-130.17.amzn1.i686
    perl-Pod-Escapes-1.04-130.17.amzn1.i686
    perl-libs-5.10.1-130.17.amzn1.i686
    perl-version-0.77-130.17.amzn1.i686
    perl-IO-Compress-Base-2.020-130.17.amzn1.i686
    perl-Archive-Tar-1.58-130.17.amzn1.i686
    perl-Test-Harness-3.17-130.17.amzn1.i686
    perl-Module-Load-0.16-130.17.amzn1.i686
    perl-Compress-Raw-Bzip2-2.020-130.17.amzn1.i686
    perl-Archive-Extract-0.38-130.17.amzn1.i686
    perl-IO-Compress-Bzip2-2.020-130.17.amzn1.i686
    perl-IPC-Cmd-0.56-130.17.amzn1.i686
    perl-CGI-3.51-130.17.amzn1.i686
    perl-Term-UI-0.20-130.17.amzn1.i686
    perl-5.10.1-130.17.amzn1.i686
    perl-ExtUtils-CBuilder-0.27-130.17.amzn1.i686
    perl-Package-Constants-0.02-130.17.amzn1.i686
    perl-Module-Loaded-0.02-130.17.amzn1.i686
    perl-core-5.10.1-130.17.amzn1.i686
    perl-Object-Accessor-0.34-130.17.amzn1.i686
    perl-Compress-Raw-Zlib-2.023-130.17.amzn1.i686
    perl-devel-5.10.1-130.17.amzn1.i686
    perl-Module-CoreList-2.18-130.17.amzn1.i686
    perl-Test-Simple-0.92-130.17.amzn1.i686
    perl-debuginfo-5.10.1-130.17.amzn1.i686
    perl-Locale-Maketext-Simple-0.18-130.17.amzn1.i686
    perl-CPANPLUS-0.88-130.17.amzn1.i686
    perl-Parse-CPAN-Meta-1.40-130.17.amzn1.i686
    perl-IO-Zlib-1.09-130.17.amzn1.i686
    perl-ExtUtils-Embed-1.28-130.17.amzn1.i686
    perl-Digest-SHA-5.47-130.17.amzn1.i686
    perl-Compress-Zlib-2.020-130.17.amzn1.i686
    perl-Params-Check-0.26-130.17.amzn1.i686
    perl-Time-HiRes-1.9721-130.17.amzn1.i686
    perl-Module-Build-0.3500-130.17.amzn1.i686
    perl-Time-Piece-1.15-130.17.amzn1.i686
    perl-Log-Message-0.02-130.17.amzn1.i686
    perl-Module-Pluggable-3.90-130.17.amzn1.i686
    perl-CPAN-1.9402-130.17.amzn1.i686
    perl-ExtUtils-ParseXS-2.2003.0-130.17.amzn1.i686
    perl-Log-Message-Simple-0.04-130.17.amzn1.i686
    perl-Pod-Simple-3.13-130.17.amzn1.i686
    perl-ExtUtils-MakeMaker-6.55-130.17.amzn1.i686
    perl-Module-Load-Conditional-0.30-130.17.amzn1.i686
    perl-IO-Compress-Zlib-2.020-130.17.amzn1.i686
    perl-parent-0.221-130.17.amzn1.i686
    perl-File-Fetch-0.26-130.17.amzn1.i686

src:
    perl-5.10.1-130.17.amzn1.src

x86_64:
    perl-Compress-Raw-Zlib-2.023-130.17.amzn1.x86_64
    perl-Archive-Tar-1.58-130.17.amzn1.x86_64
    perl-CGI-3.51-130.17.amzn1.x86_64
    perl-devel-5.10.1-130.17.amzn1.x86_64
    perl-ExtUtils-Embed-1.28-130.17.amzn1.x86_64
    perl-CPAN-1.9402-130.17.amzn1.x86_64
    perl-Pod-Escapes-1.04-130.17.amzn1.x86_64
    perl-parent-0.221-130.17.amzn1.x86_64
    perl-Module-Loaded-0.02-130.17.amzn1.x86_64
    perl-Module-Pluggable-3.90-130.17.amzn1.x86_64
    perl-Module-CoreList-2.18-130.17.amzn1.x86_64
    perl-Archive-Extract-0.38-130.17.amzn1.x86_64
    perl-IO-Zlib-1.09-130.17.amzn1.x86_64
    perl-IO-Compress-Base-2.020-130.17.amzn1.x86_64
    perl-Log-Message-Simple-0.04-130.17.amzn1.x86_64
    perl-CPANPLUS-0.88-130.17.amzn1.x86_64
    perl-Test-Simple-0.92-130.17.amzn1.x86_64
    perl-suidperl-5.10.1-130.17.amzn1.x86_64
    perl-debuginfo-5.10.1-130.17.amzn1.x86_64
    perl-Params-Check-0.26-130.17.amzn1.x86_64
    perl-Compress-Raw-Bzip2-2.020-130.17.amzn1.x86_64
    perl-Term-UI-0.20-130.17.amzn1.x86_64
    perl-ExtUtils-CBuilder-0.27-130.17.amzn1.x86_64
    perl-Time-HiRes-1.9721-130.17.amzn1.x86_64
    perl-Digest-SHA-5.47-130.17.amzn1.x86_64
    perl-Object-Accessor-0.34-130.17.amzn1.x86_64
    perl-Log-Message-0.02-130.17.amzn1.x86_64
    perl-Time-Piece-1.15-130.17.amzn1.x86_64
    perl-Module-Build-0.3500-130.17.amzn1.x86_64
    perl-Compress-Zlib-2.020-130.17.amzn1.x86_64
    perl-libs-5.10.1-130.17.amzn1.x86_64
    perl-version-0.77-130.17.amzn1.x86_64
    perl-Module-Load-Conditional-0.30-130.17.amzn1.x86_64
    perl-IO-Compress-Zlib-2.020-130.17.amzn1.x86_64
    perl-File-Fetch-0.26-130.17.amzn1.x86_64
    perl-ExtUtils-ParseXS-2.2003.0-130.17.amzn1.x86_64
    perl-Parse-CPAN-Meta-1.40-130.17.amzn1.x86_64
    perl-Package-Constants-0.02-130.17.amzn1.x86_64
    perl-IPC-Cmd-0.56-130.17.amzn1.x86_64
    perl-core-5.10.1-130.17.amzn1.x86_64
    perl-Module-Load-0.16-130.17.amzn1.x86_64
    perl-Test-Harness-3.17-130.17.amzn1.x86_64
    perl-ExtUtils-MakeMaker-6.55-130.17.amzn1.x86_64
    perl-5.10.1-130.17.amzn1.x86_64
    perl-IO-Compress-Bzip2-2.020-130.17.amzn1.x86_64
    perl-Locale-Maketext-Simple-0.18-130.17.amzn1.x86_64
    perl-Pod-Simple-3.13-130.17.amzn1.x86_64