Skip to content
pkgseek
Back to CVE search

CVE-2021-41816

critical · 9.8

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.

First indexed 11/25/2021View on NVD

Advisory Facts

Markdown

CVE-2021-41816 is rated CRITICAL (9.8), with 4 indexed affected package builds across 1 distributions.

Severity / Score
CRITICAL (9.8)
Affected builds
4
Affected distros
1
Distros with fixed_in
Ubuntu
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2021-41816?locale=en

Distribution-aware status

1
Distributions
4
Package/release records
2
Vendor advisories
4
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

4 affected package/release combinations

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.