CVE-2021-28966
Tempfile on Windows path traversal vulnerability
7.5
HIGH
CVSS 3.1
EPSS 0.25%
Description
In Ruby through 3.0 on Windows, a remote attacker can submit a crafted path when a Web application handles a parameter with TmpDir.
How to fix CVE-2021-28966
To remediate CVE-2021-28966, upgrade the affected package to a fixed version below.
- Alpine/ruby—upgrade to 2.5.9-r0 or later
- Bitnami/ruby—upgrade to 2.7.3 or later
- —upgrade to 2.7.3 or later
- —upgrade to 0.1.2 or later
Is CVE-2021-28966 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 2.5.9-r0
- from 0, < 2.7.3, >= 3.0.0, < 3.0.1
- from 0, < 2.7.3, >= 3.0.0, < 3.0.1
- from 0, < 0.1.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |