Skip to content
OpenAdvisories
Medium CVE-2012-3867 EUVD-2017-0285GHSA-q44r-f2hm-v76v

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

Published Aug 6, 2012 · Updated Aug 6, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 puppet 2.7.18-1 —
Debian 6.0 puppet 2.6.2-5+squeeze6 DSA-2511-1

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems puppet < 2.6.17 2.6.17 GHSA-q44r-f2hm-v76v
RubyGems puppet >= 2.7.0, < 2.7.18 2.7.18 GHSA-q44r-f2hm-v76v

Advisories 1

References