Lucene search

K
githubGitHub Advisory DatabaseGHSA-8MVW-22R7-W6FQ
HistoryMay 05, 2022 - 2:48 a.m.

ruby_parser allows local users to overwrite arbitrary files via symlink attack on temporary file with predictable name

2022-05-0502:48:30
CWE-377
GitHub Advisory Database
github.com
9

2.1 Low

CVSS2

Access Vector

LOCAL

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

0.0004 Low

EPSS

Percentile

5.2%

The diff_pp function in lib/gauntlet_rubyparser.rb in the ruby_parser gem 3.1.1 and earlier for Ruby allows local users to overwrite arbitrary files via a symlink attack on a temporary file with a predictable name in /tmp.

CPENameOperatorVersion
ruby_parserge2.0.2
ruby_parserlt3.1.2

2.1 Low

CVSS2

Access Vector

LOCAL

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

0.0004 Low

EPSS

Percentile

5.2%