Advisory

GHSA-46f2-3v63-3xrp

Also known as: BIT-ruby-2021-28966, BIT-ruby-min-2021-28966, CVE-2021-28966

Summary

Tempfile on Windows path traversal vulnerability

Details

There is an unintentional directory creation vulnerability in tmpdir library bundled with Ruby on Windows. And there is also an unintentional file creation vulnerability in tempfile library bundled with Ruby on Windows, because it uses tmpdir internally.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-05-06 15:01 UTC
Modified
2025-01-27 08:58 UTC

Affected packages and fixes

tmpdir

RubyGems · All systems

Affected

  • introduced 0, fixed 0.1.2 (ecosystem)

Fixed versions

0.1.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences