Files
CVEs-PoC/2021/CVE-2021-41816.md
T
2024-05-25 21:48:12 +02:00

19 lines
769 B
Markdown

### [CVE-2021-41816](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41816)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
CGI.escape_html in Ruby before 2.7.5 and 3.x before 3.0.3 has an integer overflow and resultant buffer overflow via a long string on platforms (such as Windows) where size_t and long have different numbers of bytes. This also affects the CGI gem before 0.3.1 for Ruby.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/lifeparticle/Ruby-Cheatsheet