CVE-2011-0528: Puppet Remote Code Execution Vulnerability

MODERATE
Advisory Identifier: GHSA-9pvx-fwwh-w289
CWE-284
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2011-0528
GHSA Identifier GHSA-9pvx-fwwh-w289
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-284: Improper Access Control
Affected Product Puppet
Package Ecosystem RubyGems
Published Date
Last Updated

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.

puppet fixed: 2.6.4
Upgrade puppet to 2.6.4
Verify Direct and Transitive Dependencies

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

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.

CVE-2011-0528 Affected Puppet Versions

1 component(s)
Fixed Versions:
2.6.4
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?
CVE-2011-0528 is a security vulnerability in Puppet involving Puppet does not properly restrict access to node resources under CWE-284: Improper Access Control.
Which Puppet versions are affected?
Affected versions include releases prior to 2.6.4 across affected packages: puppet.
What version fixes CVE-2011-0528?
Upgrading to 2.6.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is puppet affected?
Yes, puppet is affected in releases prior to 2.6.4. Upgrade your dependency to 2.6.4 or later.
What CWE is associated with CVE-2011-0528?
CVE-2011-0528 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check RubyGems dependencies for CVE-2011-0528?
Run the dependency tree command: 'inspect dependencies for puppet'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}