# CVE-2013-5942: graphite-web is vulnerable to Remote Code Execution

Source: https://junglewise.ai/threats/cve-2013-5942-graphite-web-is-vulnerable-to-remote-code-execution  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2013-09-27  
License: CC BY 4.0 with a link back

CVE-2013-5942 · Severity: low · CVSS 3.1 · Published 2013-09-27

Graphite 0.9.5 through 0.9.10 uses the pickle Python module unsafely, which allows remote attackers to execute arbitrary code via a crafted serialized object, related to (1) remote_storage.py, (2) storage.py, (3) render/datalib.py, and (4) whitelist/views.py, a different vulnerability than CVE-2013-5093.

Technologies: [graphite-web (PyPI)](https://junglewise.ai/threats/technologies/graphite-web). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

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

**How severe is CVE-2013-5942?** Low severity, with a CVSS score of 3.1, published 27 September 2013.

**Which products and versions are affected?** graphite-web (PyPI) ECOSYSTEM:introduced=0.9.5,fixed=0.9.11.

**Is there a fix for CVE-2013-5942?** Yes. graphite-web (PyPI): upgrade to 0.9.11 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2013-5942?** Check whether you run graphite-web (PyPI) 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

- graphite-web (PyPI): upgrade to 0.9.11 or later

  ```sh
  pip install "graphite-web>=0.9.11"
  ```


## Affected products

- graphite-web (PyPI) ECOSYSTEM:introduced=0.9.5,fixed=0.9.11

## Identifiers

- CVE-2013-5942
- GHSA-ch3j-w953-hfcm
- PYSEC-2013-34

## Related threats

- [PYSEC-2026-819 - Graphite Web Cross-site Scripting vulnerability](https://junglewise.ai/threats/cve-2022-4730-graphite-web-cross-site-scripting-vulnerability)
- [PYSEC-2026-820 - Graphite Web Cross-site Scripting vulnerability](https://junglewise.ai/threats/cve-2022-4729-graphite-web-cross-site-scripting-vulnerability)
- [PYSEC-2026-818 - Graphite Web Cross-site Scripting vulnerability](https://junglewise.ai/threats/cve-2022-4728-graphite-web-cross-site-scripting-in-cookie-handler)
- [graphite.composer.views.send_email vulnerable to SSRF](https://junglewise.ai/threats/cve-2017-18638-graphite-composer-views-send-email-vulnerable-to-ssrf)
- [graphite-web is vulnerable to Remote Code Execution via renderLocalView function](https://junglewise.ai/threats/cve-2013-5093-graphite-web-is-vulnerable-to-remote-code-execution-via)
