Remote Code Execution Affecting puppet package, versions >=2.6.0, <2.6.18 >=2.7.0, <2.7.21 >=3.0.0, <3.1.1


0.0
high

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 9.6% (95th percentile)
Expand this section
NVD
7.3 high

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-20320
  • published 28 Feb 2017
  • disclosed 12 Mar 2013
  • credit Puppet Labs

How to fix?

Upgrade puppet to version 2.6.18, 2.7.21, 3.1.1 or higher.

Overview

puppet is an automated configuration management tool. Affected versions of the package are vulnerable to Remote Code Execution on agents configured to accept kick connections. If the agent has been configured to listen for incoming connections (listen=true), and the agent's auth.conf has been configured to allow access to the run REST endpoint, then a malicious user could construct an HTTP request which could execute arbitrary code.

Notes:

  • This vulnerability is not present in the default configuration of puppet agents.
  • The severity of this issue is exacerbated by the fact that puppet agents typically run as root.