{"answers":{"affected":"2 open source packages ship an affected version, including rsshub. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-27927 in the wild and no public exploit code.","fix":"Upgrade rsshub to 1.0.0-master.a429472 or later.","what":"CVE-2024-27927 is a medium-severity server-side request forgery vulnerability in DIYgod RSSHub, published on 6 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-27927 and fix it if it is affected.\n\nWhat it is: CVE-2024-27927 is a medium-severity server-side request forgery vulnerability in DIYgod RSSHub, published on 6 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-27927 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rsshub (npm): affected all versions; fixed in 1.0.0-master.a429472\n- rsshub (npm): affected all versions; fixed in 1.0.0-master.a429472\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-27927/ (Markdown: https://insights.sbomify.com/CVE-2024-27927/index.md)","id":"CVE-2024-27927","markdown":"https://insights.sbomify.com/CVE-2024-27927/index.md","name":"CVE-2024-27927","record":{"aliases":["GHSA-3p3p-cgj7-vgw3"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"RSS feed generator","requires_auth":"none","summary":"Attackers can exploit RSSHub to send arbitrary HTTP GET requests, enabling internal network scanning, data leakage, and denial-of-service attacks.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"rsshub","vendor":"rsshub"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"RSSHub is an open source RSS feed generator. Prior to version 1.0.0-master.a429472, RSSHub allows remote attackers to use the server as a proxy to send HTTP GET requests to arbitrary targets and retrieve information in the internal network or conduct Denial-of-Service (DoS) attacks. The attacker can send malicious requests to a RSSHub server, to make the server send HTTP GET requests to arbitrary destinations and see partial responses. This may lead to leak the server IP address, which could be hidden behind a CDN; retrieving information in the internal network, e.g. which addresses/ports are accessible, the titles and meta descriptions of HTML pages; and denial of service amplification. The attacker could request the server to download some large files, or chain several SSRF requests in a single attacker request.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"RSSHub vulnerable to SSRF in /mastodon, /zjoi, and /m4","id":"CVE-2024-27927","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2024"},"n_packages":2,"n_references":6,"next":{"headline":"Vantage6: 2FA can be circumvented with hacked email access","id":"CVE-2024-27928"},"packages":[{"ecosystem":"npm","fixed":["1.0.0-master.a429472"],"introduced":["0"],"last_affected":[],"package":"rsshub","purl":null,"source":"GHSA-3p3p-cgj7-vgw3"},{"ecosystem":"npm","fixed":["1.0.0-master.a429472"],"introduced":["0"],"last_affected":[],"package":"rsshub","purl":"pkg:npm/rsshub","source":"GHSA-3p3p-cgj7-vgw3"}],"prev":{"headline":"RSSHub Cross-site Scripting vulnerability caused by internal media proxy","id":"CVE-2024-27926"},"products":["RSSHub"],"published":"2024-03-06","related":[{"cvss_score":8.8,"headline":"RSSHub is vulnerable to SSRF (Server-Side Request Forgery)","id":"CVE-2023-22493","kev_date_added":null,"published":"2023-01-13"},{"cvss_score":8.6,"headline":"Risk of code injection in RSSHub","id":"CVE-2021-21278","kev_date_added":null,"published":"2021-01-26"},{"cvss_score":6.1,"headline":"RSSHub Cross-site Scripting vulnerability caused by internal media proxy","id":"CVE-2024-27926","kev_date_added":null,"published":"2024-03-06"},{"cvss_score":5.4,"headline":"RSSHub is vulnerable to cross-site scripting (XSS) via unvalidated URL parameters","id":"CVE-2023-26491","kev_date_added":null,"published":"2023-03-03"},{"cvss_score":5.3,"headline":"Denial of Service (DoS) vulnerability in RSSHub","id":"CVE-2022-31110","kev_date_added":null,"published":"2022-06-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-05","vendors":["DIYgod"]},"summary":"Attackers can exploit RSSHub to send arbitrary HTTP GET requests, enabling internal network scanning, data leakage, and denial-of-service attacks.","url":"https://insights.sbomify.com/CVE-2024-27927/"}