{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2024-5217 in the wild since at least 29 Jul 2024.","fix":"No fix has been published for CVE-2024-5217 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 19 Aug 2024.","what":"CVE-2024-5217 is a critical code injection vulnerability in ServiceNow Now Platform, published on 10 Jul 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-5217 and fix it if it is affected.\n\nWhat it is: CVE-2024-5217 is a critical code injection vulnerability in ServiceNow Now Platform, published on 10 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2024-5217 in the wild since at least 29 Jul 2024.\n\nAffected product: ServiceNow Now Platform. 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-5217/ (Markdown: https://insights.sbomify.com/CVE-2024-5217/index.md)","id":"CVE-2024-5217","markdown":"https://insights.sbomify.com/CVE-2024-5217/index.md","name":"CVE-2024-5217","record":{"aliases":["GHSA-5xx6-pf4v-cpf2"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"ServiceNow Now Platform","requires_auth":"none","summary":"Unauthenticated attackers can remotely execute code in ServiceNow Now Platform due to incomplete input validation in GlideExpression Script.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"SN","cpe":[{"product":"servicenow","vendor":"servicenow"}],"cvss":{"score":9.2,"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:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-697","name":"Incorrect Comparison"},{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"description":"ServiceNow has addressed an input validation vulnerability that was identified in the Washington DC, Vancouver, and earlier Now Platform releases. This vulnerability could enable an unauthenticated user to remotely execute code within the context of the Now Platform. The vulnerability is addressed in the listed patches and hot fixes below, which were released during the June 2024 patching cycle. If you have not done so already, we recommend applying security patches relevant to your instance as soon as possible.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-5217.yaml","stars":null,"title":"ServiceNow - Incomplete Input Validation"}],"tier":"exploited"},"has_fix":null,"headline":"ServiceNow Incomplete List of Disallowed Inputs","id":"CVE-2024-5217","indexable":true,"kev":{"dateAdded":"2024-07-29","dueDate":"2024-08-19","knownRansomwareCampaignUse":"Unknown","product":"Utah, Vancouver, and Washington DC Now Platform","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"ServiceNow","vulnerabilityName":"ServiceNow Incomplete List of Disallowed Inputs Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":0,"n_references":3,"next":{"headline":"Reviews and Rating – Google Reviews \u003c= 5.2 - Authenticated (Author+) Stored Cross-Site Scripting","id":"CVE-2024-5218"},"packages":[],"prev":{"headline":"Denial of Service in mintplex-labs/anything-llm","id":"CVE-2024-5216"},"products":["Now Platform"],"published":"2024-07-10","related":[{"cvss_score":9.3,"headline":"ServiceNow Improper Input Validation","id":"CVE-2024-4879","kev_date_added":"2024-07-29","published":"2024-07-10"},{"cvss_score":9.9,"headline":"ACL bypass in Reporting functionality","id":"CVE-2022-43684","kev_date_added":null,"published":"2023-06-13"},{"cvss_score":9.3,"headline":"Sandbox Escape in Now Platform","id":"CVE-2024-8923","kev_date_added":null,"published":"2024-10-29"},{"cvss_score":8.8,"headline":"Code injection in n/a","id":"CVE-2018-7748","kev_date_added":null,"published":"2018-08-03"},{"cvss_score":8.7,"headline":"Unauthenticated Blind SQL Injection in Core Platform","id":"CVE-2024-8924","kev_date_added":null,"published":"2024-10-29"},{"cvss_score":6.1,"headline":"Cross-Site Scripting (XSS) vulnerability found on logout functionality","id":"CVE-2022-46389","kev_date_added":null,"published":"2023-04-17"}],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["ServiceNow"]},"summary":"Unauthenticated attackers can remotely execute code in ServiceNow Now Platform due to incomplete input validation in GlideExpression Script.","url":"https://insights.sbomify.com/CVE-2024-5217/"}