cve/2021/CVE-2021-23566.md

21 lines
819 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2021-23566](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23566)
![](https://img.shields.io/static/v1?label=Product&message=nanoid&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%203.1.31%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Information%20Exposure&color=brighgreen)
### Description
The package nanoid from 3.0.0 and before 3.1.31 are vulnerable to Information Exposure via the valueOf() function which allows to reproduce the last id generated.
### POC
#### Reference
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2332550
- https://snyk.io/vuln/SNYK-JS-NANOID-2332193
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/MaySoMusician/geidai-ikoi
- https://github.com/git-kick/ioBroker.e3dc-rscp