GHSA-jgpq-g82g-6c39

Suggest an improvement
Source
https://github.com/advisories/GHSA-jgpq-g82g-6c39
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/04/GHSA-jgpq-g82g-6c39/GHSA-jgpq-g82g-6c39.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jgpq-g82g-6c39
Aliases
Published
2020-04-07T15:52:05Z
Modified
2026-09-10T03:48:43Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
confinit vulnerable to prototype pollution
Details

confinit through 0.3.0 is vulnerable to Prototype Pollution.The 'setDeepProperty' function could be tricked into adding or modifying properties of 'Object.prototype' using a 'proto' payload.

Database specific
{
    "cwe_ids":  [
        "CWE-1321",
        "CWE-915"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-04-07T15:51:51Z",
    "nvd_published_at":  "2020-04-06T13:15:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / confinit

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/04/GHSA-jgpq-g82g-6c39/GHSA-jgpq-g82g-6c39.json"