VDB
Sign up
MEDIUM

GHSA-q44r-f2hm-v76v

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

Quick fix

GHSA-q44r-f2hm-v76v — puppet: upgrade to the fixed version with the command below.

bundle update puppet

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/puppet
Introduced in: 0Fixed in: 2.6.17
Fixbundle update puppet
RubyGems/puppet
Introduced in: 2.7.0Fixed in: 2.7.18
Fixbundle update puppet

References