{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-50389 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-50389 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-50389 is a critical SQL injection vulnerability in QNAP Systems Inc. QuRouter, published on 6 Dec 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-50389 and fix it if it is affected.\n\nWhat it is: CVE-2024-50389 is a critical SQL injection vulnerability in QNAP Systems Inc. QuRouter, published on 6 Dec 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-50389 in the wild and no public exploit code.\n\nAffected product: QNAP Systems Inc. QuRouter. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-50389/ (Markdown: https://insights.sbomify.com/CVE-2024-50389/index.md)","id":"CVE-2024-50389","markdown":"https://insights.sbomify.com/CVE-2024-50389/index.md","name":"CVE-2024-50389","record":{"aliases":["GHSA-5p7p-gj53-x6pp"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"QNAP QuRouter","requires_auth":"none","summary":"Remote attackers can inject malicious SQL code into QuRouter, potentially leading to code execution or data exposure.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"qnap","cpe":[{"product":"qurouter","vendor":"qnap"}],"cvss":{"score":9.5,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"A SQL injection vulnerability has been reported to affect QuRouter. If exploited, the vulnerability could allow remote attackers to inject malicious code.\n\nWe have already fixed the vulnerability in the following version:\nQuRouter 2.4.5.032 and later","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"QuRouter","id":"CVE-2024-50389","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"QHora","id":"CVE-2024-50390"},"packages":[],"prev":{"headline":"HBS 3 Hybrid Backup Sync","id":"CVE-2024-50388"},"products":["QuRouter"],"published":"2024-12-06","related":[{"cvss_score":9.5,"headline":"QHora","id":"CVE-2024-48860","kev_date_added":null,"published":"2024-11-22"},{"cvss_score":7.7,"headline":"QHora","id":"CVE-2024-50390","kev_date_added":null,"published":"2025-03-07"},{"cvss_score":7.3,"headline":"QuRouter","id":"CVE-2025-62846","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":7.3,"headline":"QHora","id":"CVE-2024-48861","kev_date_added":null,"published":"2024-11-22"},{"cvss_score":7.1,"headline":"QuRouter 2.5","id":"CVE-2025-29887","kev_date_added":null,"published":"2025-08-29"},{"cvss_score":5.6,"headline":"QuRouter","id":"CVE-2025-62845","kev_date_added":null,"published":"2026-03-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-12-06","vendors":["QNAP Systems Inc."]},"summary":"Remote attackers can inject malicious SQL code into QuRouter, potentially leading to code execution or data exposure.","url":"https://insights.sbomify.com/CVE-2024-50389/"}