Description
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.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | puppet | 0.25.4-2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | puppet | >= 0.24.0, < 0.24.9 | 0.24.9 | GHSA-vrh7-99jh-3fmm |
| RubyGems | puppet | >= 0.25.0, < 0.25.2 | 0.25.2 | GHSA-vrh7-99jh-3fmm |
References
- 38766 third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=502881
- [puppet-announce] 20100105 ANNOUNCE: Puppet 0.25.2 "Zoe" now available! mailing-list
- SUSE-SR:2010:013 vendor-advisory
- [puppet-announce] 20100108 ANNOUNCE: Puppet 0.24.9 is available mailing-list
- FEDORA-2010-1079 vendor-advisory
- FEDORA-2010-1372 vendor-advisory
- https://puppet.com/security/cve/cve-2010-0156