Updated ruby packages fix security vulnerability
Publication date: 13 Dec 2022Modification date: 13 Dec 2022
Type: security
Affected Mageia releases : 8
CVE: CVE-2021-33621
Description
If an application that generates HTTP responses using the cgi gem with untrusted user input, an attacker can exploit it to inject a malicious HTTP response header and/or body. Also, the contents for a CGI::Cookie object were not checked properly. If an application creates a CGI::Cookie object based on user input, an attacker may exploit it to inject invalid attributes in Set-Cookie header. Such applications are unlikely, but a change is included to check arguments for CGI::Cookie#initialize preventatively.
References
- https://bugs.mageia.org/show_bug.cgi?id=31187
- http://www.ruby-lang.org/en/news/2022/11/22/http-response-splitting-in-cgi-cve-2021-33621/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/YACE6ORF2QBXXBK2V2CM36D7TZMEJVAS/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33621
SRPMS
8/core
- ruby-2.7.7-33.6.mga8