cve.bz

CVE-2012-1988 OS Command Injection

no score yetEPSS 2.6%Fix available

No CVSS score yet. EPSS 2.6% estimated probability of exploitation activity in the next 30 days. Fixed in puppet 2.6.15, 2.7.13.

On this page
Puppet 2.6.x before 2.6.15 and 2.7.x before 2.7.13, and Puppet Enterprise (PE) Users 1.0, 1.1, 1.2.x, 2.0.x, and 2.5.x before 2.5.1 allows remote authenticated users with agent SSL keys and file-creation permissions on the puppet master to execute arbitrary commands by creating a file whose full pathname contains shell metacharacters, then performing a filebucket request.
EPSS
2.6% (unchanged from 2.6% a week ago; 2.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2012-1988 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-1988?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-1988?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-1988 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
puppet:puppetfrom 2.6.0 before 2.6.15
puppet:puppetfrom 2.7.0 before 2.7.13
puppet:puppet_enterprisefrom 1.2.0 before 2.5.1
puppet:puppet_enterprise1.0
puppet:puppet_enterprise1.1
fedoraproject:fedora15
fedoraproject:fedora16
fedoraproject:fedora17
debian:debian_linux6.0
debian:debian_linux7.0
canonical:ubuntu_linux10.04
canonical:ubuntu_linux11.04
canonical:ubuntu_linux11.10

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6xxq-j39w-g3f6RubyGemspuppet>=2.6.0 <2.6.152.6.15
GHSA-6xxq-j39w-g3f6RubyGemspuppet>=2.7.0 <2.7.132.7.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0puppet2.6.2-5+squeeze5DSA-2451-1
Debian11puppet2.7.13-1DEBIAN-CVE-2012-1988

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
CloudForms for RHEL 6converge-ui-devel-0:1.0.4-1.el6cfFixed 2012-12-04RHSA-2012:1542
CloudForms for RHEL 6puppet-0:2.6.17-2.el6cfFixed 2012-12-04RHSA-2012:1542
CloudForms for RHEL 6rubygem-actionpack-1:3.0.10-10.el6cfFixed 2012-12-04RHSA-2012:1542
CloudForms for RHEL 6rubygem-activerecord-1:3.0.10-6.el6cfFixed 2012-12-04RHSA-2012:1542
CloudForms for RHEL 6rubygem-activesupport-1:3.0.10-4.el6cfFixed 2012-12-04RHSA-2012:1542
CloudForms for RHEL 6rubygem-chunky_png-0:1.2.0-3.el6cfFixed 2012-12-04RHSA-2012:1542
CloudForms for RHEL 6rubygem-compass-0:0.11.5-2.el6cfFixed 2012-12-04RHSA-2012:1542
CloudForms for RHEL 6rubygem-compass-960-plugin-0:0.10.4-2.el6cfFixed 2012-12-04RHSA-2012:1542
CloudForms for RHEL 6rubygem-delayed_job-0:2.1.4-2.el6cfFixed 2012-12-04RHSA-2012:1542
CloudForms for RHEL 6rubygem-ldap_fluff-0:0.1.3-1.el6_3Fixed 2012-12-04RHSA-2012:1542
CloudForms for RHEL 6rubygem-mail-0:2.3.0-3.el6cfFixed 2012-12-04RHSA-2012:1542
CloudForms for RHEL 6rubygem-net-ldap-0:0.1.1-3.el6cfFixed 2012-12-04RHSA-2012:1542
Red Hat Enterprise MRG 1puppetWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2012-1988.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON