CVE-2013-5942 graphite-web is vulnerable to Remote Code Execution
Remote attackers can execute arbitrary code on Graphite servers by sending crafted serialized objects due to unsafe pickle usage.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2013-5942?
CVE-2013-5942 is a medium-severity unsafe deserialization vulnerability in n/a, published on 27 Sep 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-94
Which versions are affected by CVE-2013-5942?
3 open source packages ship an affected version, including graphite-web. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
graphite-web PyPI | From 0.9.5 | 0.9.11 |
graphite-web PyPI | From 0.9.5 | 0.9.11 |
graphite-web PyPI | From 0.9.5 | 0.9.11 |
Products include Graphite Project Graphite.
How do I fix CVE-2013-5942?
Upgrade graphite-web to 0.9.11 or later.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2013-5942 being exploited?
There is no known exploitation of CVE-2013-5942 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2017-18638 graphite.composer.views.send_email vulnerable to SSRF
- CVE-2013-5093 graphite-web is vulnerable to Remote Code Execution via renderLocalView function
- CVE-2013-5943 Cross-site scripting in n/a
- CVE-2022-4728 Graphite Web Cookie cross site scripting
- CVE-2022-4729 Graphite Web Template Name cross site scripting
Sources
Also known as DEBIAN-CVE-2013-5942, GHSA-ch3j-w953-hfcm, PYSEC-2013-34.