Lucene search

K
githubGitHub Advisory DatabaseGHSA-X5M6-JH4R-34MV
HistoryFeb 15, 2022 - 1:07 a.m.

Hub Package Arbitrary File Overwrite

2022-02-1501:07:53
CWE-377
GitHub Advisory Database
github.com
25
arbitrary file overwrite
symlink attack
temporary patch file
hub 1.12.1
local users
commands.rb
software security

CVSS2

3.6

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:L/AC:L/Au:N/C:N/I:P/A:P

EPSS

0

Percentile

5.1%

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.

Affected configurations

Vulners
Node
hubRange<1.12.1
OR
githubhubRange<1.12.1
VendorProductVersionCPE
*hub*cpe:2.3:a:*:hub:*:*:*:*:*:*:*:*
githubhub*cpe:2.3:a:github:hub:*:*:*:*:*:*:*:*

CVSS2

3.6

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:L/AC:L/Au:N/C:N/I:P/A:P

EPSS

0

Percentile

5.1%

Related for GHSA-X5M6-JH4R-34MV