Cgi vulnerabilitiesRanked by how likely they are to be used.

Product12 versions
The short answer

Cgi is made by Ruby-Lang. We track 5 published vulnerabilities in it, across 12 versions. None of them is on the list of flaws known to be exploited today. If you run Cgi, keep it on a version the vendor still supports.

See the riskiest flaws

We keep watching the known-exploited list.

Known exploited

Which Cgi vulnerabilities are being exploited?

This is the list that matters most: flaws criminals are using now.

None of Cgi's published vulnerabilities is on the list of flaws known to be exploited today. We keep watching that list.

Exploit likelihood

Which Cgi flaws are most likely to be used?

Ranked by the latest exploit-likelihood forecast: the chance each flaw is used in an attack in the next 30 days. A high severity score on its own doesn't tell you that. Flaws shared by many other makers' products are left out.

50% or more10% to 49%Under 10%
  1. 4.9%

    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.

    CVSS9.8Published6 Feb 2022
  2. 2.9%

    CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names.

    CVSS7.5Published1 Jan 2022
  3. 2.4%

    The cgi gem before 0.1.0.2, 0.2.x before 0.2.2, and 0.3.x before 0.3.5 for Ruby allows HTTP response splitting.

    CVSS8.8Published18 Nov 2022
  4. 0.8%

    In the CGI gem before 0.4.2 for Ruby, the CGI::Cookie.parse method in the CGI library contains a potential Denial of Service (DoS) vulnerability.

    CVSS5.8Published4 Mar 2025
  5. 0.8%

    In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method.

    CVSS4.0Published4 Mar 2025
Precursor Intelligence

Running Cgi? We'll keep checking.

Looking flaws up one at a time doesn't scale. Tell us what you run once, and we tell you which flaws matter to you, in what order, and keep watching for new ones.

  1. Tell us what you runPick your software from a list, or let us work it out from your website.
  2. We match it to every flawOver 400,000 published flaws, checked against your list.
  3. Ranked by real-world riskA 0 to 100 score, led by evidence criminals are using it.
  4. Told as soon as we knowAn alert by email, in the app or by webhook to your own tools.

Free plan, no card needed. Nothing to install.

FAQ

Common questions, answered plainly.

Something else? Talk to the team →

We track 5 published vulnerabilities listed under the name Cgi, across 12 versions.

None of Cgi's vulnerabilities is on the list of flaws known to be exploited today.

Create a Precursor Intelligence account and track Cgi. We match it against every published flaw, give each one a risk score from 0 to 100 and keep watching, so you hear about new ones as soon as we know, by email, in the app or by webhook.