CVEfocus › CVE database › CVE-2021-28966

CVE-2021-28966

CVSS 7.5 HighEPSS 58.0% (in the top 1% of all CVEs)Published 2021-07-27Updated 2024-08-03Assigner: mitre

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

What to do

Likely to be exploited: EPSS gives a 58% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Alpine, RubyGems: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

16Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Alpine Linux 3.24rubyFixed2.7.3-r0ALPINE-CVE-2021-28966
Alpine Linux 3.23rubyFixed2.7.3-r0ALPINE-CVE-2021-28966
Alpine Linux 3.22rubyFixed2.7.3-r0ALPINE-CVE-2021-28966
Alpine Linux 3.21rubyFixed2.7.3-r0ALPINE-CVE-2021-28966
Alpine Linux 3.20rubyFixed2.7.3-r0ALPINE-CVE-2021-28966
Alpine Linux 3.19rubyFixed2.7.3-r0ALPINE-CVE-2021-28966
Alpine Linux 3.18rubyFixed2.7.3-r0ALPINE-CVE-2021-28966
Alpine Linux 3.17rubyFixed2.7.3-r0ALPINE-CVE-2021-28966
Alpine Linux 3.16rubyFixed2.7.3-r0ALPINE-CVE-2021-28966
Alpine Linux 3.15rubyFixed2.7.3-r0ALPINE-CVE-2021-28966
Alpine Linux 3.14rubyFixed2.7.3-r0ALPINE-CVE-2021-28966
Alpine Linux 3.13rubyFixed2.7.3-r0ALPINE-CVE-2021-28966
Alpine Linux 3.12rubyFixed2.7.3-r0ALPINE-CVE-2021-28966
Alpine Linux 3.11rubyFixed2.6.7-r0ALPINE-CVE-2021-28966
Alpine Linux 3.10rubyFixed2.5.9-r0ALPINE-CVE-2021-28966
RubyGems librarytmpdirFixed0.1.2GHSA-46f2-3v63-3xrp

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.