CVE-2012-3408: Puppet Puppet Supports Use Of IP Vulnerability
LOWCVE-2012-3408 is a LOW puppet supports use of ip vulnerability (CWE-287: Improper Authentication) affecting Puppet libraries in the RubyGems ecosystem. The issue involves puppet supports use of ip addresses in certnames without warning of potential risks. Remediation is available by upgrading affected packages to version 2.7.18.
CVE-2012-3408 at a Glance
How to Fix CVE-2012-3408
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.18
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-2012-3408, 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.18), 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. 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-2012-3408 Affected Puppet Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
puppet
|
RubyGems |
< 2.7.18
|
2.7.18
|
References
Frequently Asked Questions
What is CVE-2012-3408?
Which Puppet versions are affected?
What version fixes CVE-2012-3408?
Is puppet affected?
What CWE is associated with CVE-2012-3408?
How can I check RubyGems dependencies for CVE-2012-3408?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vxf6-w9mp-95hm",
"modified" : "2023-05-12T17:24:42Z",
"published" : "2017-10-24T18:33:38Z",
"aliases" : [ "CVE-2012-3408" ],
"summary" : "Puppet supports use of IP addresses in certnames without warning of potential risks",
"details" : "`lib/puppet/network/authstore.rb` in Puppet before 2.7.18, and Puppet Enterprise before 2.5.2, supports use of IP addresses in certnames without warning of potential risks, which might allow remote attackers to spoof an agent by acquiring a previously used IP address.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "puppet"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.7.18"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-3408"
}, {
"type" : "WEB",
"url" : "https://github.com/puppetlabs/puppet/commit/ab9150baa1b738467a33b01df1d90e076253fbbd"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=839166"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/puppetlabs/puppet"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2012-3408.yml"
}, {
"type" : "WEB",
"url" : "https://www.puppet.com/security/cve/cve-2012-3408-agent-impersonation"
}, {
"type" : "WEB",
"url" : "http://puppetlabs.com/security/cve/cve-2012-3408"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:58:51Z",
"nvd_published_at" : "2012-08-06T16:55:00Z"
}
}