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
Related
  • SNYK-JS-CONVICT-2774757
Published
2022-05-13T20:15:08.013Z
Modified
2026-04-10T04:43:55.681237Z
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
[none]
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.

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
{
    "versions": [
        {
            "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"