7.5
CWE
94
Advisory Published
CVE Published
Updated

CVE-2012-6329: Code Injection

First published: Thu Dec 06 2012(Updated: )

A commit to the upstream perl git repository [1] indicated that perl's Locale::Maketext was vulnerable to a flaw that could lead to arbitrary code execution of this function was executed on user-supplied input. Quoting the commit message: Case 61251: This commit fixes a misparse of maketext strings that could lead to arbitrary code execution. Basically, maketext was compiling bracket notation into functions, but neglected to escape backslashes inside the content or die on fully-qualified method names when generating the code. This change escapes all such backslashes and dies when a method name with a colon or apostrophe is specified. [1] <a href="http://perl5.git.perl.org/perl.git/commit/1735f6f53ca19f99c6e9e39496c486af323ba6a8">http://perl5.git.perl.org/perl.git/commit/1735f6f53ca19f99c6e9e39496c486af323ba6a8</a>

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Perl<=5.16.2
Perl=5.10
Perl=5.10.0
Perl=5.10.0-rc1
Perl=5.10.0-rc2
Perl=5.10.1
Perl=5.10.1-rc1
Perl=5.10.1-rc2
Perl=5.11.0
Perl=5.11.1
Perl=5.11.2
Perl=5.11.3
Perl=5.11.4
Perl=5.11.5
Perl=5.12.0
Perl=5.12.0-rc0
Perl=5.12.0-rc1
Perl=5.12.0-rc2
Perl=5.12.0-rc3
Perl=5.12.0-rc4
Perl=5.12.0-rc5
Perl=5.12.1
Perl=5.12.1-rc1
Perl=5.12.1-rc2
Perl=5.12.2
Perl=5.12.2-rc1
Perl=5.12.3
Perl=5.12.3-rc1
Perl=5.12.3-rc2
Perl=5.12.3-rc3
Perl=5.13.0
Perl=5.13.1
Perl=5.13.2
Perl=5.13.3
Perl=5.13.4
Perl=5.13.5
Perl=5.13.6
Perl=5.13.7
Perl=5.13.8
Perl=5.13.9
Perl=5.13.10
Perl=5.13.11
Perl=5.14.0
Perl=5.14.0-rc1
Perl=5.14.0-rc2
Perl=5.14.0-rc3
Perl=5.14.1
Perl=5.14.2
Perl=5.14.3
Perl=5.16.0
Perl=5.16.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203