GHSA-fhjf-83wg-r2j9

Suggest an improvement
Source
https://github.com/advisories/GHSA-fhjf-83wg-r2j9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/08/GHSA-fhjf-83wg-r2j9/GHSA-fhjf-83wg-r2j9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fhjf-83wg-r2j9
Aliases
Published
2019-08-27T17:42:33Z
Modified
2024-08-01T07:56:36.131555Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Prototype Pollution in mixin-deep
Details

Versions of mixin-deep prior to 2.0.1 or 1.3.2 are vulnerable to Prototype Pollution. The mixinDeep function fails to validate which Object properties it updates. This allows attackers to modify the prototype of Object, causing the addition or modification of an existing property on all objects.

Recommendation

If you are using mixin-deep 2.x, upgrade to version 2.0.1 or later. If you are using mixin-deep 1.x, upgrade to version 1.3.2 or later.

Database specific
{
    "nvd_published_at": "2019-08-23T17:15:00Z",
    "cwe_ids": [
        "CWE-88"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2019-08-27T17:21:43Z"
}
References

Affected packages

npm / mixin-deep

Package

Affected ranges

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

Ecosystem specific

{
    "affected_functions": [
        "(mixin-deep)"
    ]
}

npm / mixin-deep

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
2.0.1

Affected versions

2.*

2.0.0

Ecosystem specific

{
    "affected_functions": [
        "(mixin-deep)"
    ]
}