CVE-2011-0528: Puppet Remote Code Execution Vulnerability
MODERATECVE-2011-0528 is a MODERATE remote code execution vulnerability (CWE-284: Improper Access Control) affecting Puppet libraries in the RubyGems ecosystem. The issue involves puppet does not properly restrict access to node resources. Remediation is available by upgrading affected packages to version 2.6.4.
CVE-2011-0528 at a Glance
How to Fix CVE-2011-0528
To remediate this vulnerability, upgrade all affected Puppet dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade puppet to 2.6.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for puppet
How to Check if You Are Affected
To determine whether your application is affected by CVE-2011-0528, inspect your project dependencies for Puppet:
inspect dependencies for puppet
Analyze the terminal output to locate any version of Puppet in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.6.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Puppet, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2011-0528 Affected Puppet Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
puppet
|
RubyGems |
≥ 2.6.0
< 2.6.4
|
2.6.4
|
References
Frequently Asked Questions
What is CVE-2011-0528?
Which Puppet versions are affected?
What version fixes CVE-2011-0528?
Is puppet affected?
What CWE is associated with CVE-2011-0528?
How can I check RubyGems dependencies for CVE-2011-0528?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9pvx-fwwh-w289",
"modified" : "2024-01-16T21:20:45Z",
"published" : "2022-05-14T00:56:55Z",
"aliases" : [ "CVE-2011-0528" ],
"summary" : "Puppet does not properly restrict access to node resources",
"details" : "Puppet 2.6.0 through 2.6.3 does not properly restrict access to node resources, which allows remote authenticated Puppet nodes to read or modify the resources of other nodes via unspecified vectors.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "puppet"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.6.0"
}, {
"fixed" : "2.6.4"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.6.3"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-0528"
}, {
"type" : "WEB",
"url" : "https://github.com/puppetlabs/puppet/commit/eee1a9cdaa5cab6222c8e6ab087d319f976fa4e3"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/puppetlabs/puppet"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2011-0528.yml"
}, {
"type" : "WEB",
"url" : "http://www.mail-archive.com/puppet-users@googlegroups.com/msg16429.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2011/01/27/6"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2011/01/31/5"
}, {
"type" : "WEB",
"url" : "http://www.ubuntu.com/usn/USN-1365-1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-16T21:20:45Z",
"nvd_published_at" : "2014-02-17T16:55:00Z"
}
}