Prototype pollution in convict
Priority MEDIUM 46CWE-1321Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
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)
Why it matters now
EPSS 0.02179 82nd percentileScored 2026-11-07
Fix Fixed convict: 6.2.2convict (npm): 6.2.3
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | convict | before 6.2.2 | 6.2.2 | Patch available | CNA |
| — | convict (npm) | before 6.2.3 | 6.2.3 | Patch available | GHSA-x2w5-725j-gf2g |
- convict Vendor— Affected before 6.2.2 Fixed in 6.2.2 Patch available CNA
- convict (npm) Vendor— Affected before 6.2.3 Fixed in 6.2.3 Patch available GHSA-x2w5-725j-gf2g
Remediation
- Fix · CNA convict Fixed in 6.2.2
- Fix · GHSA-x2w5-725j-gf2g convict (npm) Fixed in 6.2.3 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat Advanced Cluster Security 3
Timeline
- 2026-10-02 Threatist record created from CVE-2022-22143
- 2026-10-03 Alias added: GHSA-x2w5-725j-gf2g
References
Other 6
- https://github.com/mozilla/node-convict/blob/5eb1314f85346760a3c31cb14510f2f0af11d0d3/packages/convict/src/main.js%23L569
- https://github.com/mozilla/node-convict/security/advisories/GHSA-x2w5-725j-gf2g
- https://github.com/mozilla/node-convict/pull/384
- https://github.com/mozilla/node-convict
- https://github.com/mozilla/node-convict/releases/tag/v6.2.2
- https://www.huntr.dev/bounties/1-npm-convict
More Mozilla Convict vulnerabilities
- TI-2023-00157 Prototype Pollution in convict CVSS 3.1HIGH 8.4
- TI-2022-05586 Prototype pollution in convict CVSS 3.1CRITICAL 9.8
Sources
- CVE-2022-22143 · CVE Program
- CVE-2022-22143 · NVD
- FIRST EPSS
- GHSA-x2w5-725j-gf2g · GitHub Advisory Database · CC BY 4.0
- CVE-2022-22143 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences