Patchfirst
CVE-2021-28966 EPSS 58.0%

In Ruby through 3.0 on Windows, a remote attacker can submit a crafted path when a Web application handles a parameter with TmpDir.

Fix:upgrade tmpdir to 0.1.2 or later Details ↓

Summary

The flaw is in Ruby through version 3.0 on Windows, specifically in how the TmpDir component handles paths, which can be abused when a web application processes a parameter passed to it.

Heading is the official description · CVE.org
Breakdown
19.8 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 27 Jul 2021. No public exploit code or confirmed exploitation is recorded.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: tmpdir.

RubyGemstmpdirGHSA-46f2-3v63-3xrp

Upgrade to 0.1.2 or later

Gemfilegem "tmpdir", ">= 0.1.2"

The first fix for CVE-2021-28966. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 0.1.20.1.2

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close