GHSA-3c9c-2p65-qvwv

Suggest an improvement
Source
https://github.com/advisories/GHSA-3c9c-2p65-qvwv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-3c9c-2p65-qvwv/GHSA-3c9c-2p65-qvwv.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3c9c-2p65-qvwv
Aliases
Related
Published
2021-09-27T20:12:16Z
Modified
2026-03-13T22:14:38.535321Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Prototype pollution in aurelia-path
Details

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:

Object.freeze(Object.prototype)
Database specific
{
    "severity": "CRITICAL",
    "nvd_published_at": "2021-09-27T18:15:00Z",
    "cwe_ids": [
        "CWE-1321",
        "CWE-915"
    ],
    "github_reviewed_at": "2021-09-27T19:18:37Z",
    "github_reviewed": true
}
References

Affected packages

npm / aurelia-path

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.7

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-3c9c-2p65-qvwv/GHSA-3c9c-2p65-qvwv.json"