Vulnerability · Published Jan 26, 2021 · Assigned by GitHub_M

CVE-2021-21278Risk of code injection in RSSHub

High 8.6

In plain English

A high-severity injection in RSSHub from DIYgod. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities).

Severity (CVSS 3.1)8.6High
Exploit odds (30 days)1.6%top 24.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmrsshubno fix listedGHSA-pgjj-866w-fc5c

Affected products (as reported)

VendorProductVersions
DIYgod RSSHub < 7f1c430

Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

References