2020-12-22 16:02:19 +00:00
{
"CVE_data_meta" : {
2021-01-26 13:19:32 -07:00
"ASSIGNER" : "security-advisories@github.com" ,
2020-12-22 16:02:19 +00:00
"ID" : "CVE-2021-21278" ,
2021-01-26 13:19:32 -07:00
"STATE" : "PUBLIC" ,
"TITLE" : "Risk of code injection in RSSHub"
2020-12-22 16:02:19 +00:00
} ,
2021-01-26 13:19:32 -07:00
"affects" : {
"vendor" : {
"vendor_data" : [
{
"product" : {
"product_data" : [
{
"product_name" : "RSSHub" ,
"version" : {
"version_data" : [
{
"version_value" : "< 7f1c430"
}
]
}
}
]
} ,
"vendor_name" : "DIYgod"
}
]
}
} ,
"data_format" : "MITRE" ,
"data_type" : "CVE" ,
"data_version" : "4.0" ,
2020-12-22 16:02:19 +00:00
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2021-01-26 21:00:42 +00:00
"value" : "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."
2020-12-22 16:02:19 +00:00
}
]
2021-01-26 13:19:32 -07:00
} ,
"impact" : {
"cvss" : {
"attackComplexity" : "LOW" ,
"attackVector" : "NETWORK" ,
"availabilityImpact" : "NONE" ,
"baseScore" : 8.6 ,
"baseSeverity" : "HIGH" ,
"confidentialityImpact" : "HIGH" ,
"integrityImpact" : "NONE" ,
"privilegesRequired" : "NONE" ,
"scope" : "CHANGED" ,
"userInteraction" : "NONE" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N" ,
"version" : "3.1"
}
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')"
}
]
}
]
} ,
"references" : {
"reference_data" : [
{
"name" : "https://github.com/DIYgod/RSSHub/security/advisories/GHSA-pgjj-866w-fc5c" ,
"refsource" : "CONFIRM" ,
"url" : "https://github.com/DIYgod/RSSHub/security/advisories/GHSA-pgjj-866w-fc5c"
} ,
{
"name" : "https://github.com/DIYgod/RSSHub/commit/7f1c43094e8a82e4d8f036ff7d42568fed00699d" ,
"refsource" : "MISC" ,
"url" : "https://github.com/DIYgod/RSSHub/commit/7f1c43094e8a82e4d8f036ff7d42568fed00699d"
} ,
{
"name" : "https://www.npmjs.com/package/rsshub" ,
"refsource" : "MISC" ,
"url" : "https://www.npmjs.com/package/rsshub"
}
]
} ,
"source" : {
"advisory" : "GHSA-pgjj-866w-fc5c" ,
"discovery" : "UNKNOWN"
2020-12-22 16:02:19 +00:00
}
}