CVE-2022-21190

Source
https://cve.org/CVERecord?id=CVE-2022-21190
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21190.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-21190
Aliases
Published
2022-05-13T20:00:38.749Z
Modified
2026-07-15T01:48:56.450041017Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Prototype Pollution
Details

This affects the package convict before 6.2.3. This is a bypass of CVE-2022-22143. The fix introduced, relies on the startsWith method and does not prevent the vulnerability: before splitting the path, it checks if it starts with proto or this.constructor.prototype. To bypass this check it's possible to prepend the dangerous paths with any string value followed by a dot, like for example foo.proto or foo.this.constructor.prototype.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21190.json",
    "cna_assigner": "snyk"
}
References

Affected packages

Git / github.com/mozilla/node-convict

Affected ranges

Type
GIT
Repo
https://github.com/mozilla/node-convict
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:mozilla:convict:*:*:*:*:*:node.js:*:*",
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "6.2.3"
        }
    ]
}

Affected versions

v0.*
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.3.0
v0.3.1
v0.3.3
v0.4.0
v0.4.1
v0.4.2
v0.4.3
v0.5.0
v0.5.1
v1.*
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.2.0
v1.3.0
v1.4.0
v2.*
v2.0.0
v3.*
v3.0.0
v4.*
v4.0.0
v4.0.1
v4.0.2
v4.1.0
v4.2.0
v4.3.0
v4.3.1
v4.3.2
v4.4.0
v4.4.1
v5.*
v5.0.0
v5.0.1
v5.0.2
v5.1.0
v5.2.0
v6.*
v6.0.0
v6.0.1
v6.1.0
v6.2.0
v6.2.1
v6.2.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21190.json"