Advisory

GHSA-x5m6-jh4r-34mv

Also known as: CVE-2014-0177

Summary

Hub Package Arbitrary File Overwrite

Details

The am function in lib/hub/commands.rb in hub before 1.12.1 allows local users to overwrite arbitrary files via a symlink attack on a temporary patch file.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-02-15 01:07 UTC
Modified
2024-02-16 08:03 UTC

Affected packages and fixes

github.com/github/hub

Go · All systems

Affected

  • introduced 0, fixed 1.12.1 (semver)

Fixed versions

1.12.1

Fix

hub

RubyGems · All systems

Affected

  • introduced 0, fixed 1.12.1 (ecosystem)

Fixed versions

1.12.1

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