cve/2023/CVE-2023-30581.md

18 lines
865 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-30581](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-30581)
![](https://img.shields.io/static/v1?label=Product&message=Node.js&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=16.20.1%3C%2016.20.1%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
The use of __proto__ in process.mainModule.__proto__.require() can bypass the policy mechanism and require modules outside of the policy.json definition. This vulnerability affects all users using the experimental policy mechanism in all active release lines: v16, v18 and, v20.Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/RafaelGSS/is-my-node-vulnerable