Arbitrary File Overwrite Affecting github.com/github/hub package, versions <1.12.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary File Overwrite vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGITHUBHUB-50036
  • published13 Apr 2014
  • disclosed13 Apr 2014
  • creditUnknown

Introduced: 13 Apr 2014

CVE-2014-0177  (opens in a new tab)
CWE-310  (opens in a new tab)

Overview

Affected version of github.com/github/hub are vulnerable to Arbitrary File Overwrite. 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.

References

CVSS Base Scores

version 3.1