Lucene search

K
rubygemsRubySecRUBY:HUB-2014-0177
HistoryFeb 14, 2022 - 9:00 p.m.

Hub Package Arbitrary File Overwrite

2022-02-1421:00:00
RubySec
github.com
4
hub
package
arbitrary file
overwrite
local users
symlink attack
temporary patch file
security issue

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

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
rubyhubRange1.12.1
VendorProductVersionCPE
rubyhub*cpe:2.3:a:ruby: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

Related for RUBY:HUB-2014-0177