High
Security advisory
In Ruby through 3.0 on Windows, a remote attacker can submit a crafted path when a Web application handles a parameter with TmpDir.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-28966
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:22 UTC · Revision 1
Source evidence
In Ruby through 3.0 on Windows, a remote attacker can submit a crafted path when a Web application handles a parameter with TmpDir.
osv:CVE-2021-28966
Complete source record
{
"id": "a5ce9b3524c6efce8a73bdfcf3afe5005f703191f0717304ca3a183843f8a0c4",
"url": "https://osv.dev/vulnerability/CVE-2021-28966",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-28966",
"summary": "In Ruby through 3.0 on Windows, a remote attacker can submit a crafted path when a Web application handles a parameter with TmpDir.",
"evidence": "osv:CVE-2021-28966",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-28966",
"aliases": [
"BIT-ruby-2021-28966",
"BIT-ruby-min-2021-28966",
"CVE-2021-28966",
"GHSA-46f2-3v63-3xrp"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ruby/ruby",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "6847ee089d7655b2a0eea4fee3133aeacd4cc7cc"
},
{
"introduced": "95aff214687a5e12c3eb57d056665741e734c188"
},
{
"fixed": "0fb782ee38ea37fd5fe8b1f775f8ad866a82a3f0"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.7.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.0.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v3_0_0",
"v2_7_2",
"v2_7_1",
"v2_7_0",
"v2_7_0_rc2",
"v2_7_0_rc1",
"v2_7_0_preview3",
"v2_7_0_preview2",
"v2_7_0_preview1",
"v1_0_r2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28966.json"
}
}
],
"modified": "2026-10-24T10:30:18.110234372Z",
"provider": "osv",
"references": [
"https://security.netapp.com/advisory/ntap-20210902-0004/",
"https://hackerone.com/reports/1131465"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-28966",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 429696,
"published_at": "2021-07-30T14:15:16.303+00:00"
}