CVE-2013-4318 Features file injection vulnerability
Remote attackers can inject malicious HTML into the /tmp directory via the Features Ruby gem, potentially leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2013-4318?
CVE-2013-4318 is a medium-severity cross-site scripting vulnerability in Features, published on 26 Dec 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
File injection vulnerability in Ruby gem Features 0.3.0 allows remote attackers to inject malicious html in the /tmp directory.
Weakness: CWE-74
Which versions are affected by CVE-2013-4318?
2 open source packages ship an affected version, including features. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
features RubyGems | All versions to 0.3.0 | None |
features RubyGems | All versions to 0.3.0 | None |
Products include Feature Project Feature.
How do I fix CVE-2013-4318?
No fix has been published for CVE-2013-4318 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2013-4318 being exploited?
There is no known exploitation of CVE-2013-4318 in the wild and no public exploit code.
Sources
Also known as GHSA-42gq-h7xj-33r4.