CVE-2012-6329
The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly handle backslashes…
Check your servers for CVE-2012-6329
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2012-6329 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly handle backslashes and fully qualified method names during compilation of bracket notation, which allows context-dependent attackers to execute arbitrary commands via crafted input to an application that accepts translation strings from users, as demonstrated by the TWiki application before 5.1.3, and the Foswiki application 1.0.x through 1.0.10 and 1.1.x through 1.1.6.
Exploitation
EPSS 63.7%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.4% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2012-6329 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2012-6329RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2012-6329Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2012-6329
trivy image --scanners vuln IMAGE | grep CVE-2012-6329
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html oracle.com
- MDVSA-2013:113 mandriva.com · vendor advisory
- http://twiki.org/cgi-bin/view/Codev/SecurityAlert-CVE-2012-6329 twiki.org
- http://perl5.git.perl.org/perl.git/commit/1735f6f53ca19f99c6e9e39496c486af323ba6a8 perl5.git.perl.org
- http://perl5.git.perl.org/perl.git/blob/HEAD:/pod/perl5177delta.pod perl5.git.perl.org
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0032 wiki.mageia.org
- USN-2099-1 ubuntu.com · vendor advisory
- RHSA-2013:0685 rhn.redhat.com · vendor advisory
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705 kb.juniper.net
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10735 kb.juniper.net
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695224 bugs.debian.org
Other references
- [foswiki-announce] 20121212 Security Alert CVE-2012-6329: Foswiki MAKETEXT Variable Allows Arbitrary Shell Command… sourceforge.net · mailing list
- [perl5-porters] 20121205 Re: security notice: Locale::Maketext code.activestate.com · mailing list
- [oss-security] 20121211 Re: CVE request: perl-modules openwall.com · mailing list
- https://bugzilla.redhat.com/show_bug.cgi?id=884354 bugzilla.redhat.com
- [perl5-porters] 20121205 security notice: Locale::Maketext code.activestate.com · mailing list
- 56950 securityfocus.com · vdb entry
Source: the record CVE-2012-6329 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse