High
Prototype Pollution
Type: advisorySources: OSV
The package convict before 6.2.2 are vulnerable to Prototype Pollution via the convict function due to missing validation of parentKey. **Note:** This vulnerability derives from an incomplete fix of another [vulnerability](https://security.snyk.io/vuln/SNYK-JS-CONVICT-1062508)
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-22143
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 00:53 UTC · Revision 1
Source evidence
The package convict before 6.2.2 are vulnerable to Prototype Pollution via the convict function due to missing validation of parentKey. **Note:** This vulnerability derives from an incomplete fix of another [vulnerability](https://security.snyk.io/vuln/SNYK-JS-CONVICT-1062508)
osv:CVE-2022-22143
Complete source record
{
"id": "d031fef5e90b9a9cfd12ddd34299b72cf5419584125357ca9471ce48b8a721b5",
"url": "https://osv.dev/vulnerability/CVE-2022-22143",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Prototype Pollution",
"summary": "The package convict before 6.2.2 are vulnerable to Prototype Pollution via the convict function due to missing validation of parentKey. **Note:** This vulnerability derives from an incomplete fix of another [vulnerability](https://security.snyk.io/vuln/SNYK-JS-CONVICT-1062508)",
"evidence": "osv:CVE-2022-22143",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2022-22143",
"aliases": [
"CVE-2022-22143",
"GHSA-x2w5-725j-gf2g",
"SNYK-JS-CONVICT-2340604"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mozilla/node-convict",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "4da12f88f77a3a4c1d61fee3bc5d16194892802d"
},
{
"fixed": "3b86be087d8f14681a9c889d45da7fe3ad9cd880"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mozilla:convict:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "6.2.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "3b86be087d8f14681a9c889d45da7fe3ad9cd880"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v6.2.1",
"v6.2.0",
"v5.2.0",
"v6.1.0",
"v6.0.1",
"v6.0.0",
"v5.1.0",
"v5.0.2",
"v5.0.1",
"v5.0.0",
"v4.4.1",
"v4.4.0",
"v4.3.2",
"v4.3.1",
"v4.3.0",
"v4.2.0",
"v4.1.0",
"v4.0.2",
"v4.0.1",
"v4.0.0",
"v3.0.0",
"v2.0.0",
"v1.4.0",
"v1.3.0",
"v1.2.0",
"v1.1.3",
"v1.1.2",
"v1.1.1",
"v1.1.0",
"v0.5.1",
"v0.5.0",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0",
"v0.3.3",
"v0.3.1",
"v0.3.0",
"v0.2.3",
"v0.2.2",
"v0.2.1",
"v0.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-22143.json"
}
}
],
"modified": "2026-10-28T02:30:52.317371420Z",
"provider": "osv",
"references": [
"https://github.com/mozilla/node-convict/blob/5eb1314f85346760a3c31cb14510f2f0af11d0d3/packages/convict/src/main.js%23L569",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22143.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-22143",
"https://snyk.io/vuln/SNYK-JS-CONVICT-2340604",
"https://github.com/mozilla/node-convict/commit/3b86be087d8f14681a9c889d45da7fe3ad9cd880"
],
"provider_metadata": {
"cna_assigner": "snyk",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22143.json"
}
},
"related_cves": [
{
"value": "CVE-2022-22143",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521120,
"published_at": "2022-05-01T15:30:45.287+00:00"
}