Description
telnet.rb in Puppet 2.7.x before 2.7.13 and Puppet Enterprise (PE) 1.2.x, 2.0.x, and 2.5.x before 2.5.1 allows local users to overwrite arbitrary files via a symlink attack on the NET::Telnet connection log (/tmp/out.log).
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 | 2.7.13-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | puppet | >= 2.7.1, < 2.7.13 | 2.7.13 | GHSA-c5qq-g673-5p49 |
References
- http://projects.puppetlabs.com/issues/13606
- USN-1419-1 vendor-advisory
- http://puppetlabs.com/security/cve/cve-2012-1989/
- 48743 third-party-advisory
- puppet-nettelnet-symlink(74797) vdb-entry
- http://projects.puppetlabs.com/projects/1/wiki/Release_Notes#2.7.13
- 49136 third-party-advisory
- 52975 vdb-entry
- openSUSE-SU-2012:0608 vendor-advisory
- 48748 third-party-advisory
- openSUSE-SU-2012:0835 vendor-advisory