Lucene search

K
cve[email protected]CVE-2012-4522
HistoryNov 24, 2012 - 8:55 p.m.

CVE-2012-4522

2012-11-2420:55:03
CWE-264
web.nvd.nist.gov
54
cve-2012-4522
ruby
file.c
security vulnerability
nul byte
context-dependent
file creation

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

5.3 Medium

AI Score

Confidence

High

0.004 Low

EPSS

Percentile

73.4%

The rb_get_path_check function in file.c in Ruby 1.9.3 before patchlevel 286 and Ruby 2.0.0 before r37163 allows context-dependent attackers to create files in unexpected locations or with unexpected names via a NUL byte in a file path.

Affected configurations

NVD
Node
ruby-langrubyMatch1.9.3
OR
ruby-langrubyMatch2.0.0

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

5.3 Medium

AI Score

Confidence

High

0.004 Low

EPSS

Percentile

73.4%