{"dataType":"CVE_RECORD","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2025-27220","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","dateUpdated":"2025-11-03T21:13:25.250Z","dateReserved":"2025-02-20T00:00:00.000Z","datePublished":"2025-03-03T00:00:00.000Z"},"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"CGI","vendor":"ruby-lang","versions":[{"lessThan":"0.3.5.1","status":"affected","version":"0","versionType":"custom"},{"lessThan":"0.3.7","status":"affected","version":"0.3.6","versionType":"custom"},{"lessThan":"0.4.2","status":"affected","version":"0.4.0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","description":"CWE-1333 Inefficient Regular Expression Complexity","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre","dateUpdated":"2025-03-03T23:46:21.977Z"},"references":[{"url":"https://hackerone.com/reports/2890322"},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/cgi/CVE-2025-27220.yml"}],"x_generator":{"engine":"enrichogram 0.0.1"},"metrics":[{"cvssV3_1":{"version":"3.1","baseScore":4,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L"}}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:*:*:*","versionEndExcluding":"0.3.5.1"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:*:*:*","versionStartIncluding":"0.3.6","versionEndExcluding":"0.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:cgi:*:*:*:*:*:*:*:*","versionStartIncluding":"0.4.0","versionEndExcluding":"0.4.2"}]}]}]},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-04T16:39:36.614961Z","id":"CVE-2025-27220","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-03-04T16:40:22.900Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00008.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T21:13:25.250Z"}}]},"dataVersion":"5.2"}