logo

CVE-2021-41097 aurelia-path

Package

Manager: npm
Name: aurelia-path
Vulnerable Version: >=0 <1.1.7

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00337 pctl0.55872

Details

Prototype pollution in aurelia-path ### Impact 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` ### Patches The problem should be patched in version `1.1.7`. Any version earlier than this is vulnerable. ### Workarounds A partial work around is to free the Object prototype: ```ts Object.freeze(Object.prototype) ```

Metadata

Created: 2021-09-27T20:12:16Z
Modified: 2022-05-26T19:50:24Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-3c9c-2p65-qvwv/GHSA-3c9c-2p65-qvwv.json
CWE IDs: ["CWE-1321", "CWE-915"]
Alternative ID: GHSA-3c9c-2p65-qvwv
Finding: F390
Auto approve: 1