CVE-2012-3867Puppet
Medium 4.3 No auth needed
Follow: this CVE · Puppet · Puppet We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Puppet.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| puppet | puppet | 2.6.0 |
| puppet | puppet | 2.6.1 |
| puppet | puppet | 2.6.2 |
| puppet | puppet | 2.6.3 |
| puppet | puppet | 2.6.4 |
| puppet | puppet | 2.6.5 |
| puppet | puppet | 2.6.6 |
| puppet | puppet | 2.6.7 |
| puppet | puppet | 2.6.8 |
| puppet | puppet | 2.6.9 |
| puppet | puppet | 2.6.10 |
| puppet | puppet | 2.6.11 |
| puppet | puppet | 2.6.12 |
| puppet | puppet | 2.6.13 |
| puppet | puppet | 2.6.14 |
| puppet | puppet | 2.6.15 |
| puppet | puppet | 2.7.2 |
| puppet | puppet | 2.7.3 |
| puppet | puppet | 2.7.4 |
| puppet | puppet | 2.7.5 |
| puppet | puppet | 2.7.6 |
| puppet | puppet | 2.7.7 |
| puppet | puppet | 2.7.8 |
| puppet | puppet | 2.7.9 |
| puppet | puppet | 2.7.10 |
| puppet | puppet | 2.7.11 |
| puppet | puppet | 2.7.12 |
| puppet | puppet | 2.7.13 |
| puppet | puppet | 2.7.14 |
| puppet | puppet | 2.7.16 |
| puppet | puppet | 2.7.17 |
| puppetlabs | puppet | ≤ 2.6.16 |
| puppetlabs | puppet | 2.7.0 |
| puppetlabs | puppet | 2.7.1 |
| debian | debian_linux | 6.0 |
| canonical | ubuntu_linux | 10.04 |
| canonical | ubuntu_linux | 11.04 |
| canonical | ubuntu_linux | 11.10 |
| canonical | ubuntu_linux | 12.04 |
| opensuse | opensuse | 11.4 |
| opensuse | opensuse | 12.1 |
| suse | linux_enterprise_desktop | 11 |
| suse | linux_enterprise_desktop | 11 |
| suse | linux_enterprise_server | 11 |
| suse | linux_enterprise_server | 11 |
| suse | linux_enterprise_server | 11 |
| puppet | puppet_enterprise | ≤ 2.5.1 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Third Party Advisory
- lists.opensuse.org Third Party Advisory
- puppetlabs.com Vendor Advisory
- secunia.com
- www.debian.org Third Party Advisory
- www.ubuntu.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking
- github.com Exploit Issue Tracking Patch
- github.com Exploit Issue Tracking Patch