USN-1238-1: Puppet vulnerability

Publication date

24 October 2011

Overview

The Puppet primary server could be impersonated in certain configurations.


Packages

  • puppet - Centralized configuration management

Details

It was discovered that Puppet incorrectly handled the non-default
“certdnsnames” option when generating certificates. If this setting was
added to puppet.conf, the puppet primary server’s DNS alt names were added
to the X.509 Subject Alternative Name field of all certificates, not just
the puppet primary server’s certificate. An attacker that has an incorrect
agent certificate in his possession can use it to impersonate the puppet
primary server in a machine-in-the-middle attack.

It was discovered that Puppet incorrectly handled the non-default
“certdnsnames” option when generating certificates. If this setting was
added to puppet.conf, the puppet primary server’s DNS alt names were added
to the X.509 Subject Alternative Name field of all certificates, not just
the puppet primary server’s certificate. An attacker that has an incorrect
agent certificate in his possession can use it to impersonate the puppet
primary server in a machine-in-the-middle attack.

Update instructions

In general, a standard system update will make all the necessary changes. If your puppet primary server’s puppet.conf file has ever contained the “certdnsnames” setting, you must reissue your site certificates, or apply another mitigation technique. Please see the upstream advisory for more information: http://puppetlabs.com/security/cve/cve-2011-3872/

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
11.10 oneiric puppet-common –  2.7.1-1ubuntu3.2
11.04 natty puppet-common –  2.6.4-2ubuntu2.5
10.10 maverick puppet-common –  2.6.1-0ubuntu2.4
10.04 lucid puppet-common –  0.25.4-2ubuntu6.5

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›