GHSA-6xwr-q98w-rvg7

Suggest an improvement
Source
https://github.com/advisories/GHSA-6xwr-q98w-rvg7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-6xwr-q98w-rvg7/GHSA-6xwr-q98w-rvg7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6xwr-q98w-rvg7
Aliases
Published
2022-04-13T00:00:30Z
Modified
2024-05-19T02:24:17Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
Prototype Pollution in nconf
Details

nconf before 0.11.4. When using the memory engine, it is possible to store a nested JSON representation of the configuration. The .set() function, that is responsible for setting the configuration properties, is vulnerable to Prototype Pollution. By providing a crafted property, it is possible to modify the properties on the Object.prototype.

Database specific
{
    "cwe_ids":  [
        "CWE-1321"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-04-22T20:31:22Z",
    "nvd_published_at":  "2022-04-12T16:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / nconf

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-6xwr-q98w-rvg7/GHSA-6xwr-q98w-rvg7.json"