{"answers":{"affected":"18 open source packages ship an affected version, including qs. It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-24999 exists.","fix":"Upgrade qs to a fixed version for your release line: 6.2.4, 6.10.3, 6.3.3 or 6.4.1.","what":"CVE-2022-24999 is a high-severity denial of service vulnerability in Debian Debian Linux, published on 26 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-24999 and fix it if it is affected.\n\nWhat it is: CVE-2022-24999 is a high-severity denial of service vulnerability in Debian Debian Linux, published on 26 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-24999 exists.\n\nAffected packages and fixed versions:\n- qs (npm): affected all versions; fixed in 6.2.4\n- qs (npm): affected all versions; fixed in 6.2.4\n- qs (npm): affected from 6.10.0; fixed in 6.10.3\n- qs (npm): affected from 6.10.0; fixed in 6.10.3\n- qs (npm): affected from 6.3.0; fixed in 6.3.3\n- qs (npm): affected from 6.3.0; fixed in 6.3.3\n- qs (npm): affected from 6.4.0; fixed in 6.4.1\n- qs (npm): affected from 6.4.0; fixed in 6.4.1\n- qs (npm): affected from 6.5.0; fixed in 6.5.3\n- qs (npm): affected from 6.5.0; fixed in 6.5.3\n- qs (npm): affected from 6.6.0; fixed in 6.6.1\n- qs (npm): affected from 6.6.0; fixed in 6.6.1\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-2022-24999/ (Markdown: https://insights.sbomify.com/CVE-2022-24999/index.md)","id":"CVE-2022-24999","markdown":"https://insights.sbomify.com/CVE-2022-24999/index.md","name":"CVE-2022-24999","record":{"aliases":["AZL-44307","AZL-45051","CLSA-2026-1773274551","CLSA-2026-1784596269","CLSA-2026-1784596314","CLSA-2026-1784596344","DEBIAN-CVE-2022-24999","DLA-3299-1","GHSA-hrpp-h998-j3pp","MGASA-2023-0053","MINI-3p6w-rx5f-2hc7","OESA-2024-1338","OESA-2024-1400","OESA-2024-1401","OESA-2024-1402","OESA-2024-1403","OESA-2024-1404","ROOT-APP-NPM-CVE-2022-24999","UBUNTU-CVE-2022-24999","USN-7693-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js query string parser","requires_auth":"none","summary":"An attacker can cause a Node.js process hang via a crafted query string in the qs library, leading to denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"express","vendor":"openjsf"},{"product":"qs","vendor":"qs_project"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"qs before 6.10.3, as used in Express before 4.17.3 and other products, allows attackers to cause a Node process hang for an Express application because an __ proto__ key can be used. In many typical Express use cases, an unauthenticated remote attacker can place the attack payload in the query string of the URL that is used to visit the application, such as a[__proto__]=b\u0026a[__proto__]\u0026a[length]=100000000. The fix was backported to qs 6.9.7, 6.8.3, 6.7.3, 6.6.1, 6.5.3, 6.4.1, 6.3.3, and 6.2.4 (and therefore Express 4.17.3, which has \"deps: qs@6.9.7\" in its release description, is not vulnerable).","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2022-04-18","github_poc":1,"max_poc_stars":8,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-04-18T06:46:49Z","kind":"github_poc","ref":"https://github.com/9pings/CVE-2022-24999","stars":8,"title":"\"qs\" prototype poisoning vulnerability ( CVE-2022-24999 )"}],"tier":"weaponised"},"has_fix":true,"headline":"qs vulnerable to Prototype Pollution","id":"CVE-2022-24999","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"debian:debian_linux","products":["debian:debian_linux"],"type":"denial_of_service","year":"2022"},"n_packages":18,"n_references":5,"next":{"headline":"SQL injection in n/a","id":"CVE-2022-25003"},"packages":[{"ecosystem":"npm","fixed":["6.2.4"],"introduced":["0"],"last_affected":[],"package":"qs","purl":null,"source":"GHSA-hrpp-h998-j3pp"},{"ecosystem":"npm","fixed":["6.2.4"],"introduced":["0"],"last_affected":[],"package":"qs","purl":"pkg:npm/qs","source":"GHSA-hrpp-h998-j3pp"},{"ecosystem":"npm","fixed":["6.10.3"],"introduced":["6.10.0"],"last_affected":[],"package":"qs","purl":null,"source":"GHSA-hrpp-h998-j3pp"},{"ecosystem":"npm","fixed":["6.10.3"],"introduced":["6.10.0"],"last_affected":[],"package":"qs","purl":"pkg:npm/qs","source":"GHSA-hrpp-h998-j3pp"},{"ecosystem":"npm","fixed":["6.3.3"],"introduced":["6.3.0"],"last_affected":[],"package":"qs","purl":null,"source":"GHSA-hrpp-h998-j3pp"},{"ecosystem":"npm","fixed":["6.3.3"],"introduced":["6.3.0"],"last_affected":[],"package":"qs","purl":"pkg:npm/qs","source":"GHSA-hrpp-h998-j3pp"},{"ecosystem":"npm","fixed":["6.4.1"],"introduced":["6.4.0"],"last_affected":[],"package":"qs","purl":null,"source":"GHSA-hrpp-h998-j3pp"},{"ecosystem":"npm","fixed":["6.4.1"],"introduced":["6.4.0"],"last_affected":[],"package":"qs","purl":"pkg:npm/qs","source":"GHSA-hrpp-h998-j3pp"},{"ecosystem":"npm","fixed":["6.5.3"],"introduced":["6.5.0"],"last_affected":[],"package":"qs","purl":null,"source":"GHSA-hrpp-h998-j3pp"},{"ecosystem":"npm","fixed":["6.5.3"],"introduced":["6.5.0"],"last_affected":[],"package":"qs","purl":"pkg:npm/qs","source":"GHSA-hrpp-h998-j3pp"},{"ecosystem":"npm","fixed":["6.6.1"],"introduced":["6.6.0"],"last_affected":[],"package":"qs","purl":null,"source":"GHSA-hrpp-h998-j3pp"},{"ecosystem":"npm","fixed":["6.6.1"],"introduced":["6.6.0"],"last_affected":[],"package":"qs","purl":"pkg:npm/qs","source":"GHSA-hrpp-h998-j3pp"},{"ecosystem":"npm","fixed":["6.7.3"],"introduced":["6.7.0"],"last_affected":[],"package":"qs","purl":null,"source":"GHSA-hrpp-h998-j3pp"},{"ecosystem":"npm","fixed":["6.7.3"],"introduced":["6.7.0"],"last_affected":[],"package":"qs","purl":"pkg:npm/qs","source":"GHSA-hrpp-h998-j3pp"},{"ecosystem":"npm","fixed":["6.8.3"],"introduced":["6.8.0"],"last_affected":[],"package":"qs","purl":null,"source":"GHSA-hrpp-h998-j3pp"},{"ecosystem":"npm","fixed":["6.8.3"],"introduced":["6.8.0"],"last_affected":[],"package":"qs","purl":"pkg:npm/qs","source":"GHSA-hrpp-h998-j3pp"},{"ecosystem":"npm","fixed":["6.9.7"],"introduced":["6.9.0"],"last_affected":[],"package":"qs","purl":null,"source":"GHSA-hrpp-h998-j3pp"},{"ecosystem":"npm","fixed":["6.9.7"],"introduced":["6.9.0"],"last_affected":[],"package":"qs","purl":"pkg:npm/qs","source":"GHSA-hrpp-h998-j3pp"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2022-24995"},"products":["n/a"],"published":"2022-11-26","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-29","vendors":["n/a"]},"summary":"An attacker can cause a Node.js process hang via a crafted query string in the qs library, leading to denial of service.","url":"https://insights.sbomify.com/CVE-2022-24999/"}