Affected versions
Ubuntu16.04:LTS/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu18.04:LTS/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu20.04:LTS/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu20.04:LTS/ruby2.7
- Affected versions
- <2.7.0-5ubuntu1.18
- Fixed version
- 2.7.0-5ubuntu1.18
Ubuntu22.04:LTS/ruby3.0
- Affected versions
- <3.0.2-7ubuntu2.10
- Fixed version
- 3.0.2-7ubuntu2.10
Ubuntu24.04:LTS/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/ruby3.2
- Affected versions
- <3.2.3-1ubuntu0.24.04.5
- Fixed version
- 3.2.3-1ubuntu0.24.04.5
Ubuntu25.10/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu25.10/ruby3.3
- Affected versions
- <3.3.7-1ubuntu2
- Fixed version
- 3.3.7-1ubuntu2
Ubuntu26.04:LTS/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/jruby
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:14.04:LTS/jruby
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/ruby2.3
- Affected versions
- <2.3.1-2~ubuntu16.04.16+esm10
- Fixed version
- 2.3.1-2~ubuntu16.04.16+esm10
UbuntuPro:18.04:LTS/ruby2.5
- Affected versions
- <2.5.1-1ubuntu1.16+esm4
- Fixed version
- 2.5.1-1ubuntu1.16+esm4
Description
In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method.
Links
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27220.yml
- https://hackerone.com/reports/2890322
- https://ubuntu.com/security/CVE-2025-27220
- https://ubuntu.com/security/notices/USN-7418-1
- https://ubuntu.com/security/notices/USN-7442-1
- https://www.cve.org/CVERecord?id=CVE-2025-27220

