THREATPORT/VULNERABILITY/CVE-2021-41816
CRITICAL SEVERITY

CVE-2021-41816

Cgi vulnerability

CVSS
9.8
EPSS
4.8%
EPSS pct
91th
Exploited
No known
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. This also affects the CGI gem before 0.3.1 for Ruby.
Affected vendor
Ruby Lang
Affected product
Cgi
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness type (CWE)
  • CWE-190 — Integer Overflow or Wraparound
Published
2022-02-06

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring no privileges, no user interaction. Successful exploitation leads to high impact to confidentiality, high impact to integrity, high impact to availability.

Its EPSS score of 4.8% reflects a lower probability of exploitation activity in the wild over the next 30 days, placing it above 91% of all scored CVEs.

Check your external exposure to CVE-2021-41816

  • Confirm whether Ruby Lang Cgi is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2021-41816.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2021-41816

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2021-41816 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2021-41816?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2021-41816.

Start free scan

No credit card. Agentless.