{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2024-4879 in the wild since at least 29 Jul 2024.","fix":"No fix has been published for CVE-2024-4879 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 19 Aug 2024.","what":"CVE-2024-4879 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-4879 and fix it if it is affected.\n\nWhat it is: CVE-2024-4879 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-4879 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-4879/ (Markdown: https://insights.sbomify.com/CVE-2024-4879/index.md)","id":"CVE-2024-4879","markdown":"https://insights.sbomify.com/CVE-2024-4879/index.md","name":"CVE-2024-4879","record":{"aliases":["GHSA-355h-wpr8-m2qx"],"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 via template injection in ServiceNow UI Macros, requiring immediate patching.","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.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-1287","name":"Improper Validation of Specified Type of Input"}],"description":"ServiceNow has addressed an input validation vulnerability that was identified in Vancouver and Washington DC Now Platform releases. This vulnerability could enable an unauthenticated user to remotely execute code within the context of the Now Platform. ServiceNow applied an update to hosted instances, and ServiceNow released the update to our partners and self-hosted customers. Listed below are the patches and hot fixes that address the vulnerability. If you have not done so already, we recommend applying security patches relevant to your instance as soon as possible.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2024-07-12","github_poc":8,"max_poc_stars":25,"metasploit":0,"nuclei":1,"refs":[{"date":"2024-07-12T10:32:37Z","kind":"github_poc","ref":"https://github.com/Brut-Security/CVE-2024-4879","stars":25,"title":"CVE-2024-4879 - Jelly Template Injection Vulnerability in ServiceNow"},{"date":"2024-07-12T13:02:47Z","kind":"github_poc","ref":"https://github.com/bigb0x/CVE-2024-4879","stars":10,"title":"Bulk scanning tool for ServiceNow CVE-2024-4879 vulnerability"},{"date":"2024-07-12T21:43:48Z","kind":"github_poc","ref":"https://github.com/Mr-r00t11/CVE-2024-4879","stars":4,"title":"CVE-2024-4879.py is a Python script designed to detect specific vulnerabilities in ServiceNow instances and dump database connection details if the vulnerability is found. This tool is particularly useful for security researchers and penetration testers."},{"date":"2024-07-28T06:51:33Z","kind":"github_poc","ref":"https://github.com/NoTsPepino/CVE-2024-4879-CVE-2024-5217-ServiceNow-RCE-Scanning","stars":4,"title":"CVE-2024-4879 \u0026 CVE-2024-5217 ServiceNow RCE Scanning Using Nuclei \u0026 Shodan Dork to find it."},{"date":"2024-08-27T03:43:28Z","kind":"github_poc","ref":"https://github.com/gh-ost00/CVE-2024-4879","stars":4,"title":"Jelly Template Injection Vulnerability in ServiceNow | POC CVE-2024-4879"},{"date":"2024-07-16T04:03:28Z","kind":"github_poc","ref":"https://github.com/GraySignal/CVE-2024-4879-ServiceNow","stars":1,"title":"Exploit for CVE-2024-4879 affecting Vancouver, Washington DC Now and Utah Platform releases"},{"date":"2024-08-14T06:55:41Z","kind":"github_poc","ref":"https://github.com/jdusane/CVE-2024-4879","stars":0,"title":"Python script designed to detect specific vulnerabilities in ServiceNow instances and dump database connection details if the vulnerability is found. This tool is particularly useful for security researchers and penetration testers."},{"date":"2024-09-13T01:20:34Z","kind":"github_poc","ref":"https://github.com/0xWhoami35/CVE-2024-4879","stars":0,"title":null}],"tier":"exploited"},"has_fix":null,"headline":"ServiceNow Improper Input Validation","id":"CVE-2024-4879","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 Improper Input Validation Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":0,"n_references":3,"next":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2024-4880"},"packages":[],"prev":{"headline":"Unused CVE record, incorrectly reserved","id":"CVE-2024-4878"},"products":["Now Platform"],"published":"2024-07-10","related":[{"cvss_score":9.2,"headline":"ServiceNow Incomplete List of Disallowed Inputs","id":"CVE-2024-5217","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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["ServiceNow"]},"summary":"Unauthenticated attackers can remotely execute code via template injection in ServiceNow UI Macros, requiring immediate patching.","url":"https://insights.sbomify.com/CVE-2024-4879/"}