# CVE-2013-4761: Puppet allows remote attackers to execute arbitrary Ruby programs from the master via the resource_type service

Source: https://junglewise.ai/threats/cve-2013-4761-puppet-allows-remote-attackers-to-execute-arbitrary-ruby-programs  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2017-10-24  
License: CC BY 4.0 with a link back

CVE-2013-4761 · Severity: info · Published 2017-10-24

Puppet allows remote attackers to execute arbitrary Ruby programs from the master via the resource_type service

Technologies: [puppet (RubyGems)](https://junglewise.ai/threats/technologies/puppet). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2013-4761 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2013-4761 being exploited in the wild.

**How severe is CVE-2013-4761?** Informational severity, published 24 October 2017.

**Which products and versions are affected?** puppet (RubyGems) ECOSYSTEM:introduced=2.7.0,fixed=2.7.23.

**Is there a fix for CVE-2013-4761?** Yes. puppet (RubyGems): upgrade to 2.7.23 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2013-4761?** Check whether you run puppet (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- puppet (RubyGems): upgrade to 2.7.23 or later

  ```sh
  bundle update puppet
  ```


## Affected products

- puppet (RubyGems) ECOSYSTEM:introduced=2.7.0,fixed=2.7.23

## Identifiers

- CVE-2013-4761
- GHSA-cj43-9h3w-v976

## Related threats

- [Puppet uses predictable filenames, allowing arbitrary file overwrite](https://junglewise.ai/threats/cve-2011-3871-puppet-uses-predictable-filenames-allowing-arbitrary-file)
- [Puppet does not properly restrict access to node resources](https://junglewise.ai/threats/cve-2011-0528-puppet-does-not-properly-restrict-access-to-node-resources)
- [Puppet arbitrary file overwrite](https://junglewise.ai/threats/cve-2011-3869-puppet-arbitrary-file-overwrite)
- [Puppet allows local users to modify the permissions of arbitrary files](https://junglewise.ai/threats/cve-2011-3870-puppet-allows-local-users-to-modify-the-permissions-of-arbitrary)
- [Puppet uses predictable filenames, allowing arbitrary file overwrite](https://junglewise.ai/threats/cve-2012-1906-puppet-uses-predictable-filenames-allowing-arbitrary-file)
