CVE-2021-41097
Prototype pollution in aurelia-path
9.1
CRITICAL
CVSS 3.1
EPSS 5.1%
描述
### 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) ```
如何修補 CVE-2021-41097
要修補 CVE-2021-41097,請將受影響套件升級到下列已修補版本。
- —升級至 1.1.7 或更新版本
CVE-2021-41097 正在被利用嗎?
中等 — EPSS 為 5.1%,可持續追蹤但非最高優先。
受影響套件(1)
- from 0, < 1.1.7
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |