Search for packages
Package details: pkg:gem/cgi@0.3.5.1
purl pkg:gem/cgi@0.3.5.1
Vulnerabilities affecting this package (0)
Vulnerability Summary Fixed by
This package is not known to be affected by vulnerabilities.
Vulnerabilities fixed by this package (2)
Vulnerability Summary Aliases
VCID-ey82-nbah-9bfr CGI has Denial of Service (DoS) potential in Cookie.parse There is a possibility for DoS by in the cgi gem. This vulnerability has been assigned the CVE identifier CVE-2025-27219. We recommend upgrading the cgi gem. ## Details CGI::Cookie.parse took super-linear time to parse a cookie string in some cases. Feeding a maliciously crafted cookie string into the method could lead to a Denial of Service. Please update CGI gem to version 0.3.5.1, 0.3.7, 0.4.2 or later. ## Affected versions cgi gem versions <= 0.3.5, 0.3.6, 0.4.0 and 0.4.1. ## Credits Thanks to lio346 for discovering this issue. Also thanks to mame for fixing this vulnerability. CVE-2025-27219
GHSA-gh9q-2xrm-x6qv
VCID-gjq7-jc2d-uudy CGI has Regular Expression Denial of Service (ReDoS) potential in Util#escapeElement There is a possibility for Regular expression Denial of Service (ReDoS) by in the cgi gem. This vulnerability has been assigned the CVE identifier CVE-2025-27220. We recommend upgrading the cgi gem. ## Details The regular expression used in `CGI::Util#escapeElement` is vulnerable to ReDoS. The crafted input could lead to a high CPU consumption. This vulnerability only affects Ruby 3.1 and 3.2. If you are using these versions, please update CGI gem to version 0.3.5.1, 0.3.7, 0.4.2 or later. ## Affected versions cgi gem versions <= 0.3.5, 0.3.6, 0.4.0 and 0.4.1. ## Credits Thanks to svalkanov for discovering this issue. Also thanks to nobu for fixing this vulnerability. CVE-2025-27220
GHSA-mhwm-jh88-3gjf

Date Actor Action Vulnerability Source VulnerableCode Version
2025-07-06T17:39:07.903714+00:00 GHSA Importer Fixing VCID-gjq7-jc2d-uudy https://github.com/advisories/GHSA-mhwm-jh88-3gjf 37.0.0
2025-07-06T17:39:07.868674+00:00 GHSA Importer Fixing VCID-ey82-nbah-9bfr https://github.com/advisories/GHSA-gh9q-2xrm-x6qv 37.0.0
2025-07-03T19:22:06.665455+00:00 GitLab Importer Fixing VCID-gjq7-jc2d-uudy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/cgi/CVE-2025-27220.yml 37.0.0
2025-07-03T19:22:06.072420+00:00 GitLab Importer Fixing VCID-ey82-nbah-9bfr https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/cgi/CVE-2025-27219.yml 37.0.0
2025-07-03T13:57:46.004133+00:00 GitLab Importer Fixing VCID-gjq7-jc2d-uudy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/cgi/CVE-2025-27220.yml 36.1.3
2025-07-03T13:57:45.943272+00:00 GitLab Importer Fixing VCID-ey82-nbah-9bfr https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/cgi/CVE-2025-27219.yml 36.1.3
2025-07-01T12:12:44.522725+00:00 GithubOSV Importer Fixing VCID-gjq7-jc2d-uudy https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-mhwm-jh88-3gjf/GHSA-mhwm-jh88-3gjf.json 36.1.3
2025-07-01T12:12:43.014114+00:00 GithubOSV Importer Fixing VCID-ey82-nbah-9bfr https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-gh9q-2xrm-x6qv/GHSA-gh9q-2xrm-x6qv.json 36.1.3