{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2012-3867","id":"CVE-2012-3867","title":"Pupper does not properly restrict characters in Common Name field of Certificate Signing Request","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.","descriptionLong":"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.","published":"2012-08-06T16:00:00.000Z","updated":"2026-06-16T23:44:02.820Z","reserved":"2012-07-06T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"puppet","purl":"pkg:gem/puppet","ranges":["<2.6.17",">=2.7.0 <2.7.18"],"fixed":["2.6.17","2.7.18"],"advisory":"GHSA-q44r-f2hm-v76v"}],"cwes":["CWE-264"],"aliases":["GHSA-q44r-f2hm-v76v"],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00006.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.debian.org/security/2012/dsa-2511","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.ubuntu.com/usn/USN-1506-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://secunia.com/advisories/50014","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2012-07/msg00036.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://puppetlabs.com/security/cve/cve-2012-3867/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://github.com/puppetlabs/puppet/commit/dfedaa5fa841ccf335245a748b347b7c7c236640","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Patch","evidence","fix","report","web"]},{"url":"https://github.com/puppetlabs/puppet/commit/f3419620b42080dad3b0be14470b20a972f13c50","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Patch","evidence","fix","report","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=839158","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3867","tags":["advisory"]},{"url":"https://github.com/puppetlabs/puppet","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2012-3867.yml","tags":["web"]},{"url":"https://www.puppet.com/security/cve/cve-2012-3867-insufficient-input-validation","tags":["web"]},{"url":"http://puppetlabs.com/security/cve/cve-2012-3867","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02453,"epssPercentile":0.84721,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2012-3867","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3867","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2012-3867","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q44r-f2hm-v76v","ok":true,"note":"GHSA-q44r-f2hm-v76v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2012-3867","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}