cve/2021/CVE-2021-22918.md

18 lines
909 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2021-22918](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22918)
![](https://img.shields.io/static/v1?label=Product&message=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Out-of-bounds%20Read%20(CWE-125)&color=brighgreen)
### Description
Node.js before 16.4.1, 14.17.2, 12.22.2 is vulnerable to an out-of-bounds read when uv__idna_toascii() is used to convert strings to ASCII. The pointer p is read and increased without checking whether it is beyond pe, with the latter holding a pointer to the end of the buffer. This can lead to information disclosures or crashes. This function can be triggered via uv_getaddrinfo().
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/GitHubForSnap/knot-resolver-gael