Live threats

All CVEs / Puppet

CVE-2012-3867Puppet

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
2.5%
probability of exploitation in 30 days · percentile 85
Auth required
No
Published
Aug 6, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-264
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

What happens

lib/puppet/ssl/certificate_authority.rb in Puppet before 2.6.17 and 2.7.x before 2.7.18, and Puppet Enterprise before 2.5.2, does not properly restrict the characters in the Common Name field of a Certificate Signing Request (CSR), which makes it easier for user-assisted remote attackers to trick administrators into signing a crafted agent certificate via ANSI control sequences.

Original NVD text.

What to do

  1. Apply the vendor's security update for Puppet.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems puppet < 2.6.17 2.6.17 gem "puppet", ">= 2.6.17"
RubyGems puppet ≥ 2.7.0 < 2.7.18 2.7.18 gem "puppet", ">= 2.7.18"

Per OSV / GitHub Advisories (GHSA-q44r-f2hm-v76v). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
puppetpuppet2.6.0
puppetpuppet2.6.1
puppetpuppet2.6.2
puppetpuppet2.6.3
puppetpuppet2.6.4
puppetpuppet2.6.5
puppetpuppet2.6.6
puppetpuppet2.6.7
puppetpuppet2.6.8
puppetpuppet2.6.9
puppetpuppet2.6.10
puppetpuppet2.6.11
puppetpuppet2.6.12
puppetpuppet2.6.13
puppetpuppet2.6.14
puppetpuppet2.6.15
puppetpuppet2.7.2
puppetpuppet2.7.3
puppetpuppet2.7.4
puppetpuppet2.7.5
puppetpuppet2.7.6
puppetpuppet2.7.7
puppetpuppet2.7.8
puppetpuppet2.7.9
puppetpuppet2.7.10
puppetpuppet2.7.11
puppetpuppet2.7.12
puppetpuppet2.7.13
puppetpuppet2.7.14
puppetpuppet2.7.16
puppetpuppet2.7.17
puppetlabspuppet≤ 2.6.16
puppetlabspuppet2.7.0
puppetlabspuppet2.7.1
debiandebian_linux6.0
canonicalubuntu_linux10.04
canonicalubuntu_linux11.04
canonicalubuntu_linux11.10
canonicalubuntu_linux12.04
opensuseopensuse11.4
opensuseopensuse12.1
suselinux_enterprise_desktop11
suselinux_enterprise_desktop11
suselinux_enterprise_server11
suselinux_enterprise_server11
suselinux_enterprise_server11
puppetpuppet_enterprise≤ 2.5.1

Official sources

References

Links published by the sources. Open them with care.