{"id":"CVE-2012-3867","published":"2012-08-06T16:00:00Z","modified":"2024-08-06T20:21:04Z","title":"lib/puppet/ssl/certificate_authority.rb in Puppet before 2.6.17 and 2.7.x before 2.7.18, and Puppet Enterprise before…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02453,"percentile":0.84787,"provenance":"source"},"cwes":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00006.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.debian.org/security/2012/dsa-2511","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.ubuntu.com/usn/USN-1506-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://secunia.com/advisories/50014","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.opensuse.org/opensuse-updates/2012-07/msg00036.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://puppetlabs.com/security/cve/cve-2012-3867/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/puppetlabs/puppet/commit/dfedaa5fa841ccf335245a748b347b7c7c236640","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/puppetlabs/puppet/commit/f3419620b42080dad3b0be14470b20a972f13c50","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=839158","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":16.96}]},"affected":[{"ecosystem":"RubyGems","package":"puppet","vulnerableRanges":["<2.6.17",">=2.7.0, <2.7.18"],"patched":["2.6.17","2.7.18"],"from":["GHSA-q44r-f2hm-v76v"],"provenance":"source"}],"summary":{"text":"Puppet's certificate authority code in lib/puppet/ssl/certificate_authority.rb fails to properly restrict characters in the Common Name field of Certificate Signing Requests, affecting Puppet versions before 2.6.17 and 2.7.x before 2.7.18, and Puppet Enterprise before 2.5.2. An remote attacker who can get an administrator to sign a crafted agent certificate, through user interaction, could use ANSI control sequences in the Common Name to disguise what is being signed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:55Z"},"euvd":{"id":"EUVD-2017-0285","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2012-1987","published":"2012-05-29","fixed":"2.7.13","kev":false,"link":{"from":"CVE-2012-1987","to":"CVE-2012-3867","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:puppet","fromFixed":"2.6.15","toFixed":"2.6.17","daysApart":69}]}},{"cve":"CVE-2012-3408","published":"2012-08-06","fixed":"2.7.18","kev":false},{"cve":"CVE-2012-3865","published":"2012-08-06","fixed":"2.7.18","kev":false},{"cve":"CVE-2012-3866","published":"2012-08-06","fixed":"2.7.18","kev":false},{"cve":"CVE-2012-3867","published":"2012-08-06","fixed":"2.7.18","kev":false},{"cve":"CVE-2013-1655","published":"2013-03-20","fixed":"3.1.1","kev":false},{"cve":"CVE-2013-3567","published":"2013-08-19","fixed":"3.2.2","kev":false},{"cve":"CVE-2013-4761","published":"2013-08-20","fixed":"3.2.4","kev":false}],"package":"RubyGems:puppet"}}