Em resumo
- CVE-2021-21278 é uma vulnerabilidade CRÍTICO (CVSS 9.8) que afeta rsshub (rsshub), rsshub.
- Chance de exploração nos próximos 30 dias (EPSS): 1.6%, maior que 75.8% das vulnerabilidades.
- Correção: atualize para 2021-01-25 ou posterior.
| Package | Affected versions | Patched versions |
|---|
| rsshub | < 2021-01-25
| 2021-01-25
|
| rsshub npm | ≤ 1.0.0
| No fix yet |
Description
Impact
Some routes use eval or Function constructor, which may be injected by the target site with unsafe code, causing server-side security issues
Patches
Temporarily removed the problematic route and added a no-new-func rule to eslint
Self-built users should upgrade to 7f1c430 and later as soon as possible
Credits
Tencent Woodpecker Security Team
For more information
If you have any questions or comments about this advisory:
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free