Ubuntu LinuxOperating system · Canonical

CVE-2017-10689

MEDIUM · 5.5 CVSS v3.0 Published 2018-02-09
Fix available
A fix is available. Upgrade to 1.10.10 / 5.3.4 or later.
See remediation →
57/100
Remediation priority · Elevated
Zero-click

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 · unedited
In previous versions of Puppet Agent it was possible to install a module with world writable permissions. Puppet Agent 5.3.4 and 1.10.10 included a fix to this vulnerability.

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 confidence

In older versions of Puppet Agent, the module installation process created files with world-writable permissions (e.g., 0777), potentially allowing local unprivileged users to modify installed modules and execute arbitrary code with the privileges of the Puppet process.

MitigationUpgrade Puppet Agent to version 5.3.4 or 1.10.10 or later, which enforces proper file permissions during module installation.

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
Ubuntu LinuxOperating system
Affected:= 14.04
SatelliteApplication
Affected:= 6.4
PuppetApplication
Affected:< 5.3.4>= 1.10.0, < 1.10.10
Puppet EnterpriseApplication
Affected:< 2016.4.10>= 2017.1.0, < 2017.3.4

CVSS 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
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

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 checks

Work through these to decide whether this CVE applies to you.

  1. Check Puppet Agent version
    Run `puppet --version` to get the installed Puppet version, or query the package manager: `dpkg -l puppet-agent` (Ubuntu) or `rpm -q puppet-agent` (RHEL/Satellite)
    Affected if The version is 1.10.0 or later but below 1.10.10, OR it is 5.0.0 or later but below 5.3.4
  2. Identify module installation directory
    Run `puppet config print modulepath` to find the default module directory path
    Affected if A modulepath is configured and modules have been installed there
  3. Check file permissions on installed modules
    List file permissions in the module directory: `ls -la <modulepath>` and specifically look for directories or files with permissions 0777 (drwxrwxrwx)
    Affected if Any files or directories within the module path show world-writable permissions (mode 0777)
  4. Check recently created module files
    Run `find <modulepath> -perm -002 -type f` to find all world-writable files in the module tree
    Affected if Any files are returned by this command, indicating overly permissive access rights

The environment is affected if Puppet Agent version is 1.10.0 <= version < 1.10.10 or 5.0.0 <= version < 5.3.4 AND world-writable files exist in the Puppet module directory.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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.

From vendor data
Upgrade available Upgrade to 1.10.10 / 5.3.4 / 2016.4.10 or later
Fixed in 1.10.105.3.42016.4.10
Interim mitigation

Upgrade Puppet Agent to version 5.3.4 or 1.10.10 or later, which enforces proper file permissions during module installation.

Fix this in Ubuntu Linux Scoped from the published advisory
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing4.0 h
  • Review / QA1.0 h
9.0 hours of engineering $1,540
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,464.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2017-10689 — 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2017-10689 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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