Skip to content

Pupper does not properly restrict characters in Common Name field of Certificate Signing Request

Moderate severity GitHub Reviewed Published Oct 24, 2017 to the GitHub Advisory Database • Updated May 12, 2023

Package

bundler puppet (RubyGems)

Affected versions

< 2.6.17
>= 2.7.0, < 2.7.18

Patched versions

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

References

Published to the GitHub Advisory Database Oct 24, 2017
Reviewed Jun 16, 2020
Last updated May 12, 2023

Severity

Moderate

EPSS score

0.839%
(83rd percentile)

Weaknesses

No CWEs

CVE ID

CVE-2012-3867

GHSA ID

GHSA-q44r-f2hm-v76v

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.