CVE-2012-3867 json
Pupper does not properly restrict characters in Common Name field of Certificate Signing Request
published 2012-08-06 14 y ago modified 2026-06-16 4 mo ago also GHSA-q44r-f2hm-v76v , EUVD-2017-0285
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-3867 updated cvss 4.0
puppet: insufficient validation of agent names in CN of SSL certificate requests
-
Red Hat Enterprise MRG 1 puppetaffected: no fix planned “Will not fix”
-
Red Hat CloudForms Cloud Engine for RHEL 6 Server puppet 2.6.17-2.el6cf, rubygem-mail 2.3.0-3.el6cf, puppet-server 2.6.17-2.el6cf, rubygem-compass 0.11.5-2.el6cf, rubygem-net-ldap 0.1.1-3.el6cf, rubygem-chunky_png 1.2.0-3.el6cf, +6 more Red Hat CloudForms System Engine for RHEL 6 Server puppet 2.6.17-2.el6cf, rubygem-mail 2.3.0-3.el6cf, puppet-server 2.6.17-2.el6cf, rubygem-compass 0.11.5-2.el6cf, rubygem-net-ldap 0.1.1-3.el6cf, rubygem-chunky_png 1.2.0-3.el6cf, +6 morefixed: vendor fix RHSA-2012:1542
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.45% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/puppetlabs/puppet/commit/dfedaa5fa841ccf335245a748b347b7c7c236640 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/puppetlabs/puppet/commit/f3419620b42080dad3b0be14470b20a972f13c50 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | puppet | <2.6.17 >=2.7.0, <2.7.18 |
2.6.17 2.7.18 |
Classification
- Weakness
-
- CWE-264 Permissions, Privileges, and Access Controls
References
-
github.com
/puppetlabs/puppet/commit/dfedaa5fa841ccf335245a748b347b7c7c236640
web, exploit, issue-tracking, patch
-
github.com
/puppetlabs/puppet/commit/f3419620b42080dad3b0be14470b20a972f13c50
web, exploit, issue-tracking, patch
-
lists.opensuse.org
/opensuse-security-announce/2012-08/msg00006.html
vendor-advisory, web, third-party-advisory
-
debian.org
/security/2012/dsa-2511
vendor-advisory, web, third-party-advisory
-
ubuntu.com
/usn/USN-1506-1
vendor-advisory, web, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2012-07/msg00036.html
vendor-advisory, web, third-party-advisory
-
puppetlabs.com
/security/cve/cve-2012-3867/
vendor-advisory
-
secunia.com
/advisories/50014
third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=839158
web, issue-tracking
-
nvd.nist.gov
/vuln/detail/CVE-2012-3867
advisory
-
github.com
/puppetlabs/puppet
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2012-3867.yml
web
-
puppet.com
/security/cve/cve-2012-3867-insufficient-input-validation
web
-
puppetlabs.com
/security/cve/cve-2012-3867
web
Sources
- CVE List CVE-2012-3867
- GitHub Advisory GHSA-q44r-f2hm-v76v
- NVD CVE-2012-3867
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.