CVE-2010-0156: Low severity puppet Puppet vulnerability

Published May 27, 2009
·
Updated

Description of problem: I noticed that puppet may create several predictable files in /tmp, e.g.

/tmp/daemonout /tmp/puppetdoc.txt /tmp/puppetdoc.tex

There are also a lot more in the tests, but they may not be run in Fedora's F10 spec, and even more in the puppet source, e.g. for the dmg installation provider.

Version-Release number of selected component (if applicable): puppet-0.24.8-1.fc10

How reproducible: always

Steps to Reproduce: 1. grep -nR /tmp/ /usr/lib/ruby/siteruby/1.8/puppet

Actual results: Contains ruby code like: /usr/lib/ruby/siteruby/1.8/puppet/daemon.rb:33: File.open("/tmp/daemonout", "w") { |f|

Expected results: Should only report findings that are not executed, e.g. in comments or help information

Additional info: Current git seems to contain even more issues, e.g. lib/puppet/network/server.rb:25: File.open("/tmp/daemonout", "w") { |f|

Other sources

Puppet 0.24.x before 0.24.9 and 0.25.x before 0.25.2 allows local users to overwrite arbitrary files via a symlink attack on the (1) /tmp/daemonout, (2) /tmp/puppetdoc.txt, (3) /tmp/puppetdoc.tex, or (4) /tmp/puppetdoc.aux temporary file.

GitHub

Affected Software

23 affected componentsFixes available
redhat/0.25.4<1.el5
1.el5
rubygems/puppet>=0.25.0<0.25.2
0.25.2
rubygems/puppet>=0.24.0<0.24.9
0.24.9
puppet Puppet=0.24.3
puppet Puppet=0.24.4
puppet Puppet=0.24.5
puppet Puppet=0.24.6
puppet Puppet=0.24.6-rc1
puppet Puppet=0.24.6-rc2
puppet Puppet=0.24.7
puppet Puppet=0.24.7-rc2
puppet Puppet=0.24.8
puppet Puppet=0.24.8-rc1
puppet Puppet=0.25.0
puppet Puppet=0.25.0-beta1
puppet Puppet=0.25.0-beta2
puppet Puppet=0.25.0-rc1
puppet Puppet=0.25.1
puppet Puppet=0.25.1-rc1
puppet Puppet=0.25.1-rc2
puppet Puppet=0.25.2-rc1
puppet Puppet=0.25.2-rc2
puppet Puppet=0.25.2-rc3

Event History

Mar 3, 2010
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
via NVD·07:30 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 2, 2022
Advisory Published
via GitHub·06:10 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2010-0156?

CVE-2010-0156 has a moderate severity rating due to its potential for local file manipulation.

2

How do I fix CVE-2010-0156?

To fix CVE-2010-0156, upgrade to Puppet version 0.25.2 or later.

3

What versions are affected by CVE-2010-0156?

CVE-2010-0156 affects Puppet versions from 0.24.0 to 0.25.1.

4

Can CVE-2010-0156 lead to data leakage?

Yes, CVE-2010-0156 can potentially allow unauthorized access to files in the /tmp directory.

5

Is CVE-2010-0156 applicable to both Red Hat and RubyGems?

Yes, CVE-2010-0156 affects both the Red Hat package and RubyGems distributions of Puppet.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203