CVE-2021-21278 Risk of code injection in RSSHub
CriticalCVSS 9.8
EPSS 1.6%
- Published
- Updated
- Exploit status
- No public exploit known
Description
RSSHub is an open source, easy to use, and extensible RSS feed generator. In RSSHub before version 7f1c430 (non-semantic versioning) there is a risk of code injection. Some routes use eval or Function constructor, which may be injected by the target site with unsafe code, causing server-side security issues The fix in version 7f1c430 is to temporarily remove the problematic route and added a no-new-func rule to eslint.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm rsshub(npm) | <= 1.0.0 | after 1.0.0 | Fixed |
| rsshub | < 2021-01-25 | 2021-01-25 | Fixed |
| DIYgod RSSHub | = < 7f1c430 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm rsshub(npm) | <= 1.0.0 | No fix listed |
| rsshub | < 2021-01-25 | 2021-01-25 |
| DIYgod RSSHub | = < 7f1c430 | No fix listed |
References
- github.com third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- www.npmjs.com product third-party-advisory
- github.com
- github.com product