Vulnerability · Published Sep 27, 2021 · Assigned by GitHub_M
CVE-2021-41097Prototype pollution in aurelia-path
Critical 9.1
In plain English
A critical-severity prototype pollution in path from aurelia. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.9% (higher than 92% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
Official 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`.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | aurelia-path | 1.1.7 | GHSA-3c9c-2p65-qvwv |
Affected products (as reported)
Weakness: CWE-1321 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/aurelia/path/security/advisories/GHSA-3c9c-2p65-qvwv x_refsource_CONFIRM
- https://github.com/aurelia/path/issues/44 x_refsource_MISC
- https://github.com/aurelia/path/commit/7c4e235433a4a2df9acc313fbe891758084fdec1 x_refsource_MISC
- https://github.com/aurelia/path/releases/tag/1.1.7 x_refsource_MISC
- https://www.npmjs.com/package/aurelia-path x_refsource_MISC