CVE-2022-25352 json
Prototype Pollution
published 4y ago modified 4mo ago also GHSA-x5m8-2r8v-8f97 , EUVD-2022-1577
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
The package libnested before 1.5.2 are vulnerable to Prototype Pollution via the set function in index.js. **Note:** This vulnerability derives from an incomplete fix for [CVE-2020-28283](https://security.snyk.io/vuln/SNYK-JS-LIBNESTED-1054930)
Patch / fix
- npm libnested 1.5.2
- n/a libnested 1.5.2
Is CVE-2022-25352 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
2.06% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-LIBNESTED-2342117 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | libnested | <1.5.2 |
1.5.2 |
Affected products
- n/a libnested
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/dominictarr/libnested/commit/c1129865d75fbe52b5a4f755ad3110ca5420f2e1
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-LIBNESTED-2342117
web, exploit, patch, third-party-advisory
-
github.com
/dominictarr/libnested/blob/master/index.js%23L22
web, broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2022-25352
advisory
-
github.com
/dominictarr/libnested
package
Sources
- CVE List CVE-2022-25352
- GitHub Advisory GHSA-x5m8-2r8v-8f97
- NVD CVE-2022-25352
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.