CVE-2021-21278
In RSSHub before version 7f1c430 (non-semantic versioning) there is a risk of code injection.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.57%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.57% probability · 74th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-74
- Affected
- rsshub/rsshub
- Source
- security-advisories@github.com
References
- https://github.com/DIYgod/RSSHub/commit/7f1c43094e8a82e4d8f036ff7d42568fed00699dPatch, Third Party Advisory
- https://github.com/DIYgod/RSSHub/security/advisories/GHSA-pgjj-866w-fc5cThird Party Advisory
- https://www.npmjs.com/package/rsshubProduct, Third Party Advisory
- https://github.com/DIYgod/RSSHub/commit/7f1c43094e8a82e4d8f036ff7d42568fed00699dPatch, Third Party Advisory
- https://github.com/DIYgod/RSSHub/security/advisories/GHSA-pgjj-866w-fc5cThird Party Advisory
- https://www.npmjs.com/package/rsshubProduct, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.