See thread http://mail.madstop.com/pipermail/puppet-users/2007-October/004692.html
Ruby 1.8.6.110-3.fc7 has the new "fix", 1.8.6.36-3.fc7 didn't. This is sure to hit RHEL and other distros soon.
David Lutterkort wrote:
It seems to all boil down to bz 313691 [1], which in turn addresses CVE
2007-5162 [2], which makes me think that this problem will hit users of
other distros sooner or later.
The bug there is that ruby didn't verify that the common name on the
cert matched the host name to which the SSL connection was established.
In other words, you only have trouble if the CN on the cert is not the
name of the host the client connects to - often the case when your
clients connect to host 'puppet' and that is a CNAME to another host.
If my reading of post_connection_check
in /usr/lib/ruby/1.8/openssl/ssl.rb is correct, it should be possible to
fix this by adding 'subjectAltName' extensions to the server cert.
Changes are definitely needed in the way that the puppetmaster generates
the server cert.
---
Since I use CNAMEs extensively, I'm sure to hit this soon. In fact, I'd rather be able to subsequently add these alt names at a later date, but I suspect SSL won't allow me to do this.