Privilege Escalation via Symlink Attack Affecting puppet package, versions >=2.0.0, <2.7.25 >=3.0.0, <3.4.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUBY-PUPPET-20328
  • published 28 Feb 2017
  • disclosed 26 Dec 2013
  • credit Dominic Cleal

How to fix?

Upgrade puppet to version 2.7.25, 3.4.2 or higher.

Overview

puppet is an automated configuration management tool. Affected versions of the package are vulnerable to Privilege Escalation die to the unsafe manner puppet uses temp files, allowing attackers to use a symlink attack and cause the puppet agent to overwrite something it did not intend to.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
4 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

NVD

4 medium