CVE-2022-31110: Rsshub Denial of Service Vulnerability
MODERATECVE-2022-31110 is a MODERATE (CVSS 5.3) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Rsshub libraries in the npm ecosystem. The issue involves denial of service (dos) vulnerability in rsshub. Remediation is available in the latest vendor maintenance releases.
CVE-2022-31110 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2022-31110
To remediate this vulnerability, upgrade all affected Rsshub dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install rsshub@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls rsshub
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2022-31110, inspect your project dependencies using npm:
npm ls rsshub
Analyze the terminal output to locate any version of Rsshub in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls rsshub command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Rsshub, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-31110 Affected Rsshub Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
rsshub
|
npm |
≤ 1.0.0
|
|
References
Frequently Asked Questions
What is CVE-2022-31110?
Which Rsshub versions are affected?
What version fixes CVE-2022-31110?
Is rsshub affected?
What is the CVSS score of CVE-2022-31110?
What CWE is associated with CVE-2022-31110?
How can I check npm dependencies for CVE-2022-31110?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jvxx-v45p-v5vf",
"modified" : "2022-06-29T20:37:27Z",
"published" : "2022-06-23T06:45:03Z",
"aliases" : [ "CVE-2022-31110" ],
"summary" : "Denial of Service (DoS) vulnerability in RSSHub",
"details" : "### Impact\n\nPassing some special values to the `filter` and `filterout` parameters can cause an abnormally high CPU. Impact on the performance of the servers and RSSHub services.\n\n### Patches\n\nIt is fixed in 5c4177441417b44a6e45c3c63e9eac2504abeb5b , please update to this or the later versions as soon as possible.\n\n### References\n\nFull report: https://github.com/DIYgod/RSSHub/issues/10045\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in <https://github.com/DIYgod/RSSHub/issues>\n* Email us at [i@diygod.me](mailto:i@diygod.me)\n\n### Credits\n\n@Rongronggg9 \n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "rsshub"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/DIYgod/RSSHub/security/advisories/GHSA-jvxx-v45p-v5vf"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-31110"
}, {
"type" : "WEB",
"url" : "https://github.com/DIYgod/RSSHub/issues/10045"
}, {
"type" : "WEB",
"url" : "https://github.com/DIYgod/RSSHub/commit/4671720f4c5e1aaaad8fcc1dce684b6546baf2ff"
}, {
"type" : "WEB",
"url" : "https://github.com/DIYgod/RSSHub/commit/5c4177441417b44a6e45c3c63e9eac2504abeb5b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/DIYgod/RSSHub"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1333", "CWE-400" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-23T06:45:03Z",
"nvd_published_at" : "2022-06-29T18:15:00Z"
}
}