CVE-2016-2785 — Vulnerability in puppet — CVE Details
Puppet Improper Access Control
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.89%). Schedule for your next planned update.
Does your project use an affected puppet version?
Paste your Gemfile.lock to check it for CVE-2016-2785 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Puppet Server before 2.3.2 and Ruby puppetmaster in Puppet 4.x before 4.4.2 and in Puppet Agent before 1.4.2 might allow remote attackers to bypass intended auth.conf access restrictions by leveraging incorrect URL decoding.
Advisory Timeline
- First published May 13, 2022 (1659 days ago).
- Last revised February 16, 2024 — 644 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install puppet -v 4.4.2
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: RubyGems (1).
| Package | Fixed In |
|---|---|
| puppet RubyGems · Affected: 4.0.0, 4.1.0, 4.2.0, 4.2.1 (+7 more) | 4.4.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-284
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-2785ADVISORY
- https://github.com/puppetlabs/puppet/commit/6592a8166572e5f1b7d058474059b8519ec81387WEB
- https://github.com/puppetlabs/puppetPACKAGE
- https://github.com/puppetlabs/puppet/commits/4.4.2WEB
- https://puppet.com/security/cve/cve-2016-2785WEB
- https://security.gentoo.org/glsa/201606-02WEB
Frequently Asked Questions
- What is CVE-2016-2785?
- Puppet Improper Access Control. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2016-2785?
- CVE-2016-2785 affects puppet. It has a 2.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2016-2785 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 87.6% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-130001CRITICAL
Mustache for Ruby: RCE using built-in method access
- CVE-2026-122006CRITICAL
Active Storage: Possible arbitrary file write and read in image analysis
- CVE-2021-27023MEDIUM
Unsafe HTTP Redirect in Puppet Agent and Puppet Server
- CVE-2020-7942MEDIUM
Improper Certificate Validation in Puppet
- CVE-2021-27025MEDIUM
Silent Configuration Failure in Puppet Agent
- CVE-2017-10689MEDIUM
Tarball permission preservation in puppet