{"answers":{"affected":"2 open source packages ship an affected version, including aurelia-path. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-41097 exists.","fix":"Upgrade aurelia-path to 1.1.7 or later.","what":"CVE-2021-41097 is a critical vulnerability in aurelia path, published on 27 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-41097 and fix it if it is affected.\n\nWhat it is: CVE-2021-41097 is a critical vulnerability in aurelia path, published on 27 Sep 2021. 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-2021-41097 exists.\n\nAffected packages and fixed versions:\n- aurelia-path (npm): affected all versions; fixed in 1.1.7\n- aurelia-path (npm): affected all versions; fixed in 1.1.7\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-2021-41097/ (Markdown: https://insights.sbomify.com/CVE-2021-41097/index.md)","id":"CVE-2021-41097","markdown":"https://insights.sbomify.com/CVE-2021-41097/index.md","name":"CVE-2021-41097","record":{"aliases":["GHSA-3c9c-2p65-qvwv"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Aurelia path library","requires_auth":"none","summary":"Prototype pollution in aurelia-path allows attackers to modify Object prototypes via crafted URLs, potentially leading to code execution or privilege escalation in Aurelia applications.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"aurelia-path","vendor":"bluespire"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"aurelia-path is part of the Aurelia platform and contains utilities for path manipulation. There is a prototype pollution vulnerability in aurelia-path before version 1.1.7. The vulnerability exposes Aurelia application that uses `aurelia-path` package to parse a string. The majority of this will be Aurelia applications that employ the `aurelia-router` package. An example is this could allow an attacker to change the prototype of base object class `Object` by tricking an application to parse the following URL: `https://aurelia.io/blog/?__proto__[asdf]=asdf`. The problem is patched in version `1.1.7`.","ecosystems":["npm"],"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/2021/CVE-2021-41097.yaml","stars":null,"title":"Aurelia-Path \u003c 1.1.7 - Prototype Pollution"}],"tier":"weaponised"},"has_fix":true,"headline":"Prototype pollution in aurelia-path","id":"CVE-2021-41097","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2021"},"n_packages":2,"n_references":5,"next":{"headline":"Improper Restriction of XML External Entity Reference (XXE) in Nokogiri on JRuby","id":"CVE-2021-41098"},"packages":[{"ecosystem":"npm","fixed":["1.1.7"],"introduced":["0"],"last_affected":[],"package":"aurelia-path","purl":null,"source":"GHSA-3c9c-2p65-qvwv"},{"ecosystem":"npm","fixed":["1.1.7"],"introduced":["0"],"last_affected":[],"package":"aurelia-path","purl":"pkg:npm/aurelia-path","source":"GHSA-3c9c-2p65-qvwv"}],"prev":{"headline":"Use of a Broken or Risky Cryptographic Algorithm in com.mayank.rucky","id":"CVE-2021-41096"},"products":["path"],"published":"2021-09-27","related":[],"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":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["aurelia"]},"summary":"Prototype pollution in aurelia-path allows attackers to modify Object prototypes via crafted URLs, potentially leading to code execution or privilege escalation in Aurelia applications.","url":"https://insights.sbomify.com/CVE-2021-41097/"}