CVE-2021-35514 Code injection in Narou
Attackers can execute arbitrary Ruby code by injecting malicious payloads into novel title or author fields in the Narou library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-35514?
CVE-2021-35514 is a critical code injection vulnerability in n/a, published on 28 Jun 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Narou (aka Narou.rb) before 3.8.0 allows Ruby Code Injection via the title name or author name of a novel.
Weakness: CWE-94
Which versions are affected by CVE-2021-35514?
2 open source packages ship an affected version, including narou. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
narou RubyGems | All versions | 3.8.0 |
narou RubyGems | All versions | 3.8.0 |
Products include Narou Project Narou.
How do I fix CVE-2021-35514?
Upgrade narou to 3.8.0 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2021-35514 being exploited?
There is no known exploitation of CVE-2021-35514 in the wild and no public exploit code.
Sources
Also known as GHSA-gwrj-88fp-5m36.