CVE-2021-41819

HIGHCVSS 7.5/10EPSS 2.93%

Last modified

CVE-2021-41819 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names. This also affects the CGI gem through 0.3.0 for Ruby.. EPSS estimates a 2.93% chance of exploitation in the next 30 days.

Description

CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names. This also affects the CGI gem through 0.3.0 for Ruby.

Metrics

CVSS 3.1
7.5/10

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

EPSS Probability
2.93%

85.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
Ruby-LangCgi0.1.0
Ruby-LangCgi0.2.0
Ruby-LangCgi0.3.0
Ruby-LangRuby<= 2.6.8
Ruby-LangRuby>= 2.7.0, < 2.7.5
Ruby-LangRuby>= 3.0.0, < 3.0.3
RedhatSoftware CollectionsAll versions
RedhatEnterprise Linux8.0
DebianDebian Linux9.0
DebianDebian Linux10.0
DebianDebian Linux11.0
SuseLinux Enterprise11.0Sp1
SuseLinux Enterprise12.0
SuseLinux Enterprise15.0
OpensuseFactoryAll versions
OpensuseLeap15.2
FedoraprojectFedora34
FedoraprojectFedora35

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-41819?
CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names. This also affects the CGI gem through 0.3.0 for Ruby.
How severe is CVE-2021-41819?
CVE-2021-41819 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 2.93% probability of exploitation in the next 30 days.
How do I fix CVE-2021-41819?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-41819?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST