CVE-2021-27025
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA flaw was discovered in Puppet Agent where the agent may silently ignore Augeas settings or may be vulnerable to a Denial of Service condition prior to the first 'pluginsync'.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceIn Puppet Agent versions prior to the fix, a race condition or configuration loading issue exists where Augeas (the configuration editing tool used by Puppet) settings may be silently ignored or cause a Denial of Service if the pluginsync has not yet occurred. This happens because the Augeas lenses and configuration needed for proper parsing are not available on the agent until after the first pluginsync from the Puppet master.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 35>= 2021.0.0, < 2021.4.0< 6.25.1>= 5.5.0, <= 5.5.22>= 7.0.0, < 7.12.1< 2019.8.9CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check installed Puppet Agent versionRun `puppet --version` or `puppet-agent --version` to get the installed version numberAffected if The version falls within: < 6.25.1, >= 5.5.0 through <= 5.5.22, >= 7.0.0 through < 7.12.1 for Puppet Agent; or >= 2021.0.0 through < 2021.4.0 for Puppet; or < 2019.8.9 for Puppet Enterprise
-
Verify Augeas lenses availabilityCheck if Augeas lens files exist in the agent's lib directory, typically at `/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/augeas/lenses/` or within the modules directory after pluginsyncAffected if The Augeas lenses directory is missing or empty, indicating pluginsync has not yet completed
-
Determine if pluginsync has occurredLook for cached plugins from the master in the agent's vendor ruby path or modules directory; check timestamps on `/opt/puppetlabs/puppet/cache/lib/` directoriesAffected if No cached Augeas-related plugins or lenses are present, suggesting this is a fresh agent that has not performed initial pluginsync
-
Check if Augeas resource types are in useReview Puppet manifests for `augeas` resource types or examine `/etc/puppetlabs/puppet/augeas.conf` (or `augeas.toml`) for Augeas configuration settingsAffected if Augeas resources or configuration are defined in the environment but the agent has not yet synced the required Augeas lenses from the master
You are affected if your Puppet Agent version matches the vulnerable ranges AND Augeas is in use but the initial pluginsync from the master has not yet completed, leaving Augeas lenses unavailable on the agent.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped6.25.17.12.12019.8.9
Ensure Puppet agents complete their initial pluginsync before relying on Augeas-stored configurations, and update Puppet Agent to the patched version that addresses this vulnerability.
Puppet 2021.4.0 / Puppet Agent 6.25.1 / Puppet Agent 7.12.1 / Puppet Enterprise 2019.8.9
- 1. Backup your current Puppet configuration and any custom Augeas lenses
- 2. Upgrade Puppet Agent to version 6.25.1 or later (for 6.x line), or 7.12.1 or later (for 7.x line)
- 3. If using open-source Puppet, upgrade to version 2021.4.0 or later
- 4. If using Puppet Enterprise, upgrade to version 2019.8.9 or later
- 5. Run 'puppet agent -t' to verify the agent functions correctly after upgrade
- 6. Verify Augeas settings are being applied properly
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation1.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,936.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2021-27025 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2021-27025 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data