Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-21278— Risk of code injection in RSSHub

Quick assessment

Affected
DIYgod RSSHub
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

RSSHub 存在注入漏洞,该漏洞源于一些路由使用“eval”或“Function constructor”,导致服务器端安全问题。

CVSS 8.6 · High EPSS 1.57% · P74

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-21278

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Risk of code injection in RSSHub
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
输出中的特殊元素转义处理不恰当(注入)
Source: CVE Program / CVE List V5
Vulnerability Title
RSSHub 注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
RSSHub 存在注入漏洞,该漏洞源于一些路由使用“eval”或“Function constructor”,导致服务器端安全问题。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
DIYgod RSSHub < 7f1c430 -

II. Public POCs for CVE-2021-21278

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-21278

登录查看更多情报信息。

Patches & Fixes for CVE-2021-21278 (1)

Vendor Advisories for CVE-2021-21278 (1)

Other References for CVE-2021-21278 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2021-21278

No comments yet


Leave a comment