VYPR
Moderate severityNVD Advisory· Published Oct 27, 2011· Updated Apr 29, 2026

CVE-2011-3869

CVE-2011-3869

Description

Puppet 2.7.x before 2.7.5, 2.6.x before 2.6.11, and 0.25.x allows local users to overwrite arbitrary files via a symlink attack on the .k5login file.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
puppetRubyGems
>= 2.7.0, < 2.7.52.7.5
puppetRubyGems
< 2.6.112.6.11

Affected products

23
  • Puppetlabs/Puppet2 versions
    cpe:2.3:a:puppetlabs:puppet:2.7.0:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:puppetlabs:puppet:2.7.0:*:*:*:*:*:*:*
    • cpe:2.3:a:puppetlabs:puppet:2.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:puppet:puppet:0.25.0:*:*:*:*:*:*:*+ 20 more
    • cpe:2.3:a:puppet:puppet:0.25.0:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:0.25.1:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:0.25.2:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:0.25.3:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:0.25.4:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:0.25.5:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:0.25.6:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:2.6.0:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:2.6.1:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:2.6.10:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:2.6.2:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:2.6.3:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:2.6.4:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:2.6.5:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:2.6.6:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:2.6.7:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:2.6.8:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:2.6.9:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:2.7.2:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:2.7.3:*:*:*:*:*:*:*
    • cpe:2.3:a:puppet:puppet:2.7.4:*:*:*:*:*:*:*

Patches

2
7d4c169df84f

(#9794) k5login can overwrite arbitrary files as root

https://github.com/puppetlabs/puppetDaniel PittmanSep 29, 2011via ghsa
1 file changed · +3 1
  • lib/puppet/type/k5login.rb+3 1 modified
    @@ -79,7 +79,9 @@ def mode=(value)
     
         private
         def write(value)
    -      File.open(@resource[:name], "w") { |f| f.puts value.join("\n") }
    +      Puppet::Util.secure_open(@resource[:name], "w") do |f|
    +        f.puts value.join("\n")
    +      end
         end
       end
     end
    
2775c21ae48e

(#9794) k5login can overwrite arbitrary files as root

https://github.com/puppetlabs/puppetDaniel PittmanSep 29, 2011via ghsa
1 file changed · +3 1
  • lib/puppet/type/k5login.rb+3 1 modified
    @@ -79,7 +79,9 @@ def mode=(value)
     
         private
         def write(value)
    -      File.open(@resource[:name], "w") { |f| f.puts value.join("\n") }
    +      Puppet::Util.secure_open(@resource[:name], "w") do |f|
    +        f.puts value.join("\n")
    +      end
         end
       end
     end
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

14

News mentions

0

No linked articles in our index yet.