CVE-2012-3867 in Canonical Ubuntu Linux and 7 more products
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...
Affects 8 products from 6 vendors. Facts below cite their sources.
Remotely exploitable over the network, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 10.04 11.04 11.10 12.04 |
| Debian | Debian Linux | 6.0 |
| Opensuse | Opensuse | 11.4 12.1 |
| Puppet | Puppet | 2.6.0 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5+25 more2.6.6 2.6.7 2.6.8 2.6.9 2.6.10 2.6.11 2.6.12 2.6.13 2.6.14 2.6.15 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.7.10 2.7.11 2.7.12 2.7.13 2.7.14 2.7.16 2.7.17 |
| Puppet | Puppet Enterprise | ≤ 2.5.1 |
| Puppetlabs | Puppet | 2.7.0 2.7.1 ≤ 2.6.16 |
| Suse | Linux Enterprise Server | 11 |
| Suse | Linux Enterprise Desktop | 11 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2012-3867 |
|---|---|
| BreachSpider ID | BS-2012-GLOBAL-091884-M |
| CVSS vector | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| Published | 2012-08-06 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-264: Permissions, Privileges, and Access Controls
Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2012. A medium severity vulnerability affects Canonical systems (CVE-2012-3867). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:M/Au:N/C:N/I:P/A:N.
Questions
What is CVE-2012-3867?
This vulnerability was disclosed in 2012. A medium severity vulnerability affects Canonical systems (CVE-2012-3867). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2012-3867?
CVE-2012-3867 has CVSS 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N. EPSS: 2.5%.
Is CVE-2012-3867 actively exploited?
No confirmed active exploitation of CVE-2012-3867 as of 2026-09-25.
How do I remediate CVE-2012-3867?
Priority: MONITOR. Advisory: http://puppetlabs.com/security/cve/cve-2012-3867/ PSIRT: [email protected]
What systems are affected by CVE-2012-3867?
CVE-2012-3867 affects Canonical Ubuntu Linux; Debian Debian Linux; Opensuse Opensuse; Puppet Puppet, Puppet Enterprise; Puppetlabs Puppet; Suse Linux Enterprise Server, Linux Enterprise Desktop.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.