CVE-2013-3567: Puppet Puppet Improper Input Validation Vulnerability Vulnerability
HIGHCVE-2013-3567 is a HIGH puppet improper input validation vulnerability vulnerability (CWE-20: Improper Input Validation) affecting Puppet libraries in the RubyGems ecosystem. The issue involves puppet improper input validation vulnerability. Remediation is available by upgrading affected packages to version 2.7.22, 3.2.2.
CVE-2013-3567 at a Glance
How to Fix CVE-2013-3567
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.7.22
Upgrade puppet to 3.2.2
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-2013-3567, 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.7.22), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. 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-2013-3567 Affected Puppet Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
puppet
|
RubyGems |
≥ 2.7.0
< 2.7.22
|
2.7.22
|
|
puppet
|
RubyGems |
≥ 3.2.0
< 3.2.2
|
3.2.2
|
References
Frequently Asked Questions
What is CVE-2013-3567?
Which Puppet versions are affected?
What version fixes CVE-2013-3567?
Is puppet affected?
What CWE is associated with CVE-2013-3567?
How can I check RubyGems dependencies for CVE-2013-3567?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f7p5-w2cr-7cp7",
"modified" : "2023-05-12T17:27:38Z",
"published" : "2017-10-24T18:33:37Z",
"aliases" : [ "CVE-2013-3567" ],
"summary" : "Puppet Improper Input Validation vulnerability",
"details" : "Puppet 2.7.x before 2.7.22 and 3.2.x before 3.2.2, and Puppet Enterprise before 2.8.2, deserializes untrusted YAML, which allows remote attackers to instantiate arbitrary Ruby classes and execute arbitrary code via a crafted REST API call.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "puppet"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.7.0"
}, {
"fixed" : "2.7.22"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "puppet"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.2.0"
}, {
"fixed" : "3.2.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-3567"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/puppetlabs/puppet"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2013-3567.yml"
}, {
"type" : "WEB",
"url" : "https://puppetlabs.com/security/cve/cve-2013-3567"
}, {
"type" : "WEB",
"url" : "https://www.puppet.com/security/cve/cve-2013-3567-unauthenticated-remote-code-execution-vulnerability"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00002.html"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00019.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2013-1283.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2013-1284.html"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2013/dsa-2715"
}, {
"type" : "WEB",
"url" : "http://www.ubuntu.com/usn/USN-1886-1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:34:01Z",
"nvd_published_at" : "2013-08-19T23:55:08Z"
}
}