GHSA-x5m6-jh4r-34mv

Suggest an improvement
Source
https://github.com/advisories/GHSA-x5m6-jh4r-34mv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-x5m6-jh4r-34mv/GHSA-x5m6-jh4r-34mv.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-x5m6-jh4r-34mv
Aliases
  • CVE-2014-0177
Published
2022-02-15T01:07:53Z
Modified
2023-11-08T05:24:30.893789Z
Severity
  • 4.4 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2014-05-27T14:55:10Z",
    "cwe_ids": [
        "CWE-377"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-20T20:32:04Z"
}
References

Affected packages

Go / github.com/github/hub

Package

Name
github.com/github/hub
View open source insights on deps.dev
Purl
pkg:golang/github.com/github/hub

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12.1

RubyGems / hub

Package

Name
hub
Purl
pkg:gem/hub

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12.1

Affected versions

1.*

1.6.0
1.6.1
1.7.0
1.8.0
1.8.1
1.8.2
1.8.3
1.8.4
1.9.0
1.10.0
1.10.1
1.10.2
1.10.3
1.10.4
1.10.5
1.10.6
1.11.0
1.11.1
1.11.2
1.12.0