CVE & CISA-KEV Catalog

CVE-2021-41817

HIGHEPSS 87th pctl
7.5
CVSS v3
NVD

Description

Date.parse in the date gem through 3.2.0 for Ruby allows ReDoS (regular expression Denial of Service) via a long string. The fixed versions are 3.2.1, 3.1.2, 3.0.2, and 2.0.1.

How to fix

Remediation Available
ruby2.7Debian
Fixed in:2.7.4-1+deb11u1CVE-2021-41817
ruby2.3Ubuntu
Fixed in:2.3.1-2~ubuntu16.04.16+esm2USN-5235-1
ruby2.5Ubuntu
Fixed in:2.5.1-1ubuntu1.11USN-5235-1
ruby2.7Ubuntu
Fixed in:2.7.0-5ubuntu1.6USN-5235-1
Ruby 3.0Windows application
Affected:2.6.0 2.6.9Fixed in:2.6.9RubyInstaller Team
Affected:2.7.0 2.7.5Fixed in:2.7.5RubyInstaller Team
Affected:3.0.0 3.0.3Fixed in:3.0.3RubyInstaller Team
Ruby 3.1Windows application
Affected:3.0.0 3.0.3Fixed in:3.0.3RubyInstaller Team
Affected:2.7.0 2.7.5Fixed in:2.7.5RubyInstaller Team
Affected:2.6.0 2.6.9Fixed in:2.6.9RubyInstaller Team
Ruby 3.2Windows application
Affected:2.6.0 2.6.9Fixed in:2.6.9RubyInstaller Team
Affected:2.7.0 2.7.5Fixed in:2.7.5RubyInstaller Team
Affected:3.0.0 3.0.3Fixed in:3.0.3RubyInstaller Team
Ruby 3.2 with MSYS2Windows application
Affected:2.7.0 2.7.5Fixed in:2.7.5RubyInstaller Team
Affected:3.0.0 3.0.3Fixed in:3.0.3RubyInstaller Team
Affected:2.6.0 2.6.9Fixed in:2.6.9RubyInstaller Team
Ruby 3.3Windows application
Affected:3.0.0 3.0.3Fixed in:3.0.3RubyInstaller Team
Affected:2.6.0 2.6.9Fixed in:2.6.9RubyInstaller Team
Affected:2.7.0 2.7.5Fixed in:2.7.5RubyInstaller Team
Ruby 3.3 with MSYS2Windows application
Affected:2.6.0 2.6.9Fixed in:2.6.9RubyInstaller Team
Affected:3.0.0 3.0.3Fixed in:3.0.3RubyInstaller Team
Affected:2.7.0 2.7.5Fixed in:2.7.5RubyInstaller Team

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

3.22%probability of exploitation in 30 days
87thpercentile

Elevated risk: more likely to be exploited than 87% of all known CVEs.

References

Related Vulnerabilities

Other CWE-1333 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-3364High7.544%-Fix
CVE-2024-8124High7.540%-Fix
CVE-2024-25126Medium5.335%-Fix
CVE-2024-2651Medium6.533%-Fix
CVE-2021-32837High7.529%-Fix
CVE-2024-2829High7.526%-Fix

Common questions

How do I fix CVE-2021-41817?

Published advisories record a fix for 10 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2021-41817 being actively exploited?

Not that we know of. CVE-2021-41817 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 3.2% is the estimated probability that it will be exploited in the next 30 days. That is higher than 87% of all scored CVEs.

How severe is CVE-2021-41817?

CVE-2021-41817 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2021-41817 affect?

Published advisories record a fix for ruby2.7 (Debian), ruby2.3 (Ubuntu), ruby2.5 (Ubuntu), ruby2.7 (Ubuntu), and 6 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2021-41817
CVE-2021-41817 severity badge

Markdown

[![CVE-2021-41817](https://tridentstack.com/cve/badge/CVE-2021-41817.svg)](https://tridentstack.com/cve/CVE-2021-41817)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-41817"><img src="https://tridentstack.com/cve/badge/CVE-2021-41817.svg" alt="CVE-2021-41817"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.