نسخههای متأثر
Ubuntu20.04:LTS/ruby2.7
- نسخههای متأثر
- <2.7.0-5ubuntu1.6
- نسخهٔ اصلاحشده
- 2.7.0-5ubuntu1.6
Ubuntu22.04:LTS/ruby3.0
- نسخههای متأثر
- <3.0.2-7ubuntu2
- نسخهٔ اصلاحشده
- 3.0.2-7ubuntu2
شرح آسیبپذیری
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.
پیوندها
- https://github.com/ruby/cgi/commit/c728632c1c09d46cfd4ecbff9caaa3651dd1002a
- https://ubuntu.com/security/CVE-2021-41816
- https://ubuntu.com/security/notices/USN-5235-1
- https://www.cve.org/CVERecord?id=CVE-2021-41816
- https://www.ruby-lang.org/en/news/2021/11/24/buffer-overrun-in-cgi-escape_html-cve-2021-41816/

