cve/2022/CVE-2022-21211.md
2024-06-09 00:33:16 +00:00

19 lines
758 B
Markdown

### [CVE-2022-21211](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21211)
![](https://img.shields.io/static/v1?label=Product&message=posix&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%200%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Denial%20of%20Service%20(DoS)&color=brighgreen)
### Description
This affects all versions of package posix. When invoking the toString method, it will fallback to 0x0 value, as the value of toString is not invokable (not a function), and then it will crash with type-check.
### POC
#### Reference
- https://snyk.io/vuln/SNYK-JS-POSIX-2400719
- https://snyk.io/vuln/SNYK-JS-POSIX-2400719
#### Github
No PoCs found on GitHub currently.