QID 980493
QID 980493: Nodejs (npm) Security Update for aurelia-path (GHSA-3c9c-2p65-qvwv)
Security update has been released for aurelia-path to fix the vulnerability.
Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.
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`
Solution
The problem should be patched in version `1.1.7`. Any version earlier than this is vulnerable.Workaround:
A partial work around is to free the Object prototype:
```ts
Object.freeze(Object.prototype)
```
A partial work around is to free the Object prototype:
```ts
Object.freeze(Object.prototype)
```
Vendor References
- GHSA-3c9c-2p65-qvwv -
github.com/advisories/GHSA-3c9c-2p65-qvwv
CVEs related to QID 980493
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-3c9c-2p65-qvwv | aurelia-path |
|