Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-41816

published

ruby: buffer overflow in CGI.escape_html

Title from Red Hat VEX

Published
06 Feb 2022, 00:00:00 UTC
Updated
04 Aug 2024, 03:22:24 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2RUBY3.0-2023-003 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Alpine Linux edge ruby Fixed 3.0.3-r0 Package fix record
Debian bullseye ruby2.7 Advisory build 2.7.4-1+deb11u1 DSA-5067-1
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubysrc Advisory build 2.7.6-131.el7 RHSA-2022:6856
SUSE / openSUSE openSUSE-Tumbleweed libruby2_7-2_7aarch64 Advisory build 2.7.5-1.1 OPENSUSE-SU-2024:11657-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.12 ruby Fixed 2.7.5-r0 Package fix record
Alpine Linux v3.13 ruby Fixed 2.7.5-r0 Package fix record
Alpine Linux v3.14 ruby Fixed 2.7.5-r0 Package fix record
Alpine Linux v3.15 ruby Fixed 3.0.3-r0 Package fix record
Alpine Linux v3.16 ruby Fixed 3.0.3-r0 Package fix record
Alpine Linux v3.17 ruby Fixed 3.0.3-r0 Package fix record
Alpine Linux v3.18 ruby Fixed 3.0.3-r0 Package fix record
Alpine Linux v3.19 ruby Fixed 3.0.3-r0 Package fix record
Alpine Linux v3.20 ruby Fixed 3.0.3-r0 Package fix record
Alpine Linux v3.21 ruby Fixed 3.0.3-r0 Package fix record
Alpine Linux v3.22 ruby Fixed 3.0.3-r0 Package fix record
Alpine Linux v3.23 ruby Fixed 3.0.3-r0 Package fix record
Alpine Linux v3.24 ruby Fixed 3.0.3-r0 Package fix record
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubyx86_64 Advisory build 2.7.6-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-ruby-debuginfox86_64 Advisory build 2.7.6-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-ruby-develx86_64 Advisory build 2.7.6-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-ruby-docnoarch Advisory build 2.7.6-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-ruby-libsx86_64 Advisory build 2.7.6-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygem-bigdecimalx86_64 Advisory build 2.0.0-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygem-bundlernoarch Advisory build 2.2.24-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygem-did_you_meannoarch Advisory build 1.4.0-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygem-io-consolex86_64 Advisory build 0.5.6-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygem-irbnoarch Advisory build 1.2.6-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygem-jsonx86_64 Advisory build 2.3.0-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygem-minitestnoarch Advisory build 5.13.0-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygem-net-telnetnoarch Advisory build 0.2.0-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygem-opensslx86_64 Advisory build 2.1.3-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygem-power_assertnoarch Advisory build 1.1.7-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygem-psychx86_64 Advisory build 3.1.0-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygem-raccx86_64 Advisory build 1.4.16-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygem-rakenoarch Advisory build 13.0.1-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygem-rdocnoarch Advisory build 6.2.1.1-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygem-test-unitnoarch Advisory build 3.3.4-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygem-xmlrpcnoarch Advisory build 0.3.0-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygemsnoarch Advisory build 3.1.6-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby27-rubygems-develnoarch Advisory build 3.1.6-131.el7 RHSA-2022:6856
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubysrc Advisory build 3.0.4-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubyx86_64 Advisory build 3.0.4-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-ruby-debuginfox86_64 Advisory build 3.0.4-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-ruby-default-gemsnoarch Advisory build 3.0.4-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-ruby-develx86_64 Advisory build 3.0.4-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-ruby-docnoarch Advisory build 3.0.4-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-ruby-libsx86_64 Advisory build 3.0.4-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubygem-bigdecimalx86_64 Advisory build 3.0.0-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubygem-bundlernoarch Advisory build 2.2.33-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubygem-io-consolex86_64 Advisory build 0.5.7-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubygem-irbnoarch Advisory build 1.3.5-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubygem-jsonx86_64 Advisory build 2.5.1-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubygem-minitestnoarch Advisory build 5.14.2-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubygem-power_assertnoarch Advisory build 1.2.0-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubygem-psychx86_64 Advisory build 3.3.2-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubygem-rakenoarch Advisory build 13.0.3-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubygem-rbsnoarch Advisory build 1.4.0-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubygem-rexmlnoarch Advisory build 3.2.5-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubygem-rssnoarch Advisory build 0.2.9-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubygem-test-unitnoarch Advisory build 3.3.7-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubygem-typeprofnoarch Advisory build 0.15.2-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubygemsnoarch Advisory build 3.2.33-149.el7 RHSA-2022:6855
Red Hat Enterprise Linux RHEL-7 rh-ruby30-rubygems-develnoarch Advisory build 3.2.33-149.el7 RHSA-2022:6855
SUSE / openSUSE openSUSE-Tumbleweed libruby2_7-2_7ppc64le Advisory build 2.7.5-1.1 OPENSUSE-SU-2024:11657-1
SUSE / openSUSE openSUSE-Tumbleweed libruby2_7-2_7s390x Advisory build 2.7.5-1.1 OPENSUSE-SU-2024:11657-1
SUSE / openSUSE openSUSE-Tumbleweed libruby2_7-2_7x86_64 Advisory build 2.7.5-1.1 OPENSUSE-SU-2024:11657-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_0-3_0aarch64 Advisory build 3.0.3-1.1 OPENSUSE-SU-2024:11658-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_0-3_0ppc64le Advisory build 3.0.3-1.1 OPENSUSE-SU-2024:11658-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_0-3_0s390x Advisory build 3.0.3-1.1 OPENSUSE-SU-2024:11658-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_0-3_0x86_64 Advisory build 3.0.3-1.1 OPENSUSE-SU-2024:11658-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_1-3_1aarch64 Advisory build 3.1.0-1.1 OPENSUSE-SU-2024:11786-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_1-3_1ppc64le Advisory build 3.1.0-1.1 OPENSUSE-SU-2024:11786-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_1-3_1s390x Advisory build 3.1.0-1.1 OPENSUSE-SU-2024:11786-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_1-3_1x86_64 Advisory build 3.1.0-1.1 OPENSUSE-SU-2024:11786-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_2-3_2aarch64 Advisory build 3.2.1-1.1 OPENSUSE-SU-2024:12712-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_2-3_2ppc64le Advisory build 3.2.1-1.1 OPENSUSE-SU-2024:12712-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_2-3_2s390x Advisory build 3.2.1-1.1 OPENSUSE-SU-2024:12712-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_2-3_2x86_64 Advisory build 3.2.1-1.1 OPENSUSE-SU-2024:12712-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_3-3_3aarch64 Advisory build 3.3.0-1.2 OPENSUSE-SU-2024:13623-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_3-3_3ppc64le Advisory build 3.3.0-1.2 OPENSUSE-SU-2024:13623-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_3-3_3s390x Advisory build 3.3.0-1.2 OPENSUSE-SU-2024:13623-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_3-3_3x86_64 Advisory build 3.3.0-1.2 OPENSUSE-SU-2024:13623-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_4-3_4aarch64 Advisory build 3.4.1-1.1 OPENSUSE-SU-2025:14621-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_4-3_4ppc64le Advisory build 3.4.1-1.1 OPENSUSE-SU-2025:14621-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_4-3_4s390x Advisory build 3.4.1-1.1 OPENSUSE-SU-2025:14621-1
SUSE / openSUSE openSUSE-Tumbleweed libruby3_4-3_4x86_64 Advisory build 3.4.1-1.1 OPENSUSE-SU-2025:14621-1
SUSE / openSUSE openSUSE-Tumbleweed libruby4_0-4_0aarch64 Advisory build 4.0.0~preview2-1.1 OPENSUSE-SU-2025:15819-1
SUSE / openSUSE openSUSE-Tumbleweed libruby4_0-4_0ppc64le Advisory build 4.0.0~preview2-1.1 OPENSUSE-SU-2025:15819-1
SUSE / openSUSE openSUSE-Tumbleweed libruby4_0-4_0s390x Advisory build 4.0.0~preview2-1.1 OPENSUSE-SU-2025:15819-1
SUSE / openSUSE openSUSE-Tumbleweed libruby4_0-4_0x86_64 Advisory build 4.0.0~preview2-1.1 OPENSUSE-SU-2025:15819-1
SUSE / openSUSE openSUSE-Tumbleweed ruby2.7aarch64 Advisory build 2.7.5-1.1 OPENSUSE-SU-2024:11657-1
SUSE / openSUSE openSUSE-Tumbleweed ruby2.7ppc64le Advisory build 2.7.5-1.1 OPENSUSE-SU-2024:11657-1
SUSE / openSUSE openSUSE-Tumbleweed ruby2.7s390x Advisory build 2.7.5-1.1 OPENSUSE-SU-2024:11657-1
SUSE / openSUSE openSUSE-Tumbleweed ruby2.7x86_64 Advisory build 2.7.5-1.1 OPENSUSE-SU-2024:11657-1
SUSE / openSUSE openSUSE-Tumbleweed ruby2.7-develaarch64 Advisory build 2.7.5-1.1 OPENSUSE-SU-2024:11657-1
SUSE / openSUSE openSUSE-Tumbleweed ruby2.7-develppc64le Advisory build 2.7.5-1.1 OPENSUSE-SU-2024:11657-1
SUSE / openSUSE openSUSE-Tumbleweed ruby2.7-devels390x Advisory build 2.7.5-1.1 OPENSUSE-SU-2024:11657-1
SUSE / openSUSE openSUSE-Tumbleweed ruby2.7-develx86_64 Advisory build 2.7.5-1.1 OPENSUSE-SU-2024:11657-1
SUSE / openSUSE openSUSE-Tumbleweed ruby2.7-devel-extraaarch64 Advisory build 2.7.5-1.1 OPENSUSE-SU-2024:11657-1
SUSE / openSUSE openSUSE-Tumbleweed ruby2.7-devel-extrappc64le Advisory build 2.7.5-1.1 OPENSUSE-SU-2024:11657-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

26

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

7

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
6ca34785166680039cbb960fcca1fb8548b5174f0dea7946c45be43d2473263e
Ingested
23 Sep 2026, 07:56:14 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected