The main use case of Convict is for handling server-side configurations written by the admins owning the servers, and not random users. So it's unlikely that an admin would deliberately sabotage their own server. Still a situation can happen where an admin not knowledgeable about JavaScript could be tricked by an attacker into writing the malicious JavaScript code into some config files.
The problem is patched in [email protected]. Users should upgrade to [email protected].
No way for users to fix or remediate the vulnerability without upgrading
https://github.com/mozilla/node-convict/issues/410
| Score | Percentile |
|---|---|
| 0.12% | 31.16% |
| Base score | Version | Severity | Vector |
|---|---|---|---|
| 8.4 | 3.1 | — |
|
| 7.3 | 4.0 | — |
|
| Type | Value |
|---|---|
| GHSA | GHSA-4jrm-c32x-w4jf ↗ |
| CVE | CVE-2023-0163 ↗ |
| CWE id | Name |
|---|---|
| CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') |
Vulnerable version ranges and first patched releases as published by GitHub.
| Ecosystem | Package | Vulnerable range | First patched | Vulnerable functions |
|---|---|---|---|---|
| npm | convict | < 6.2.4 | 6.2.4 | — |