CVE Explore

Vulnerability in Ruby-Lang Ruby

CVE-2012-4522

CVSS v2
5.0 Medium
Public exploits
None known
EPSS
0.022 · 82.9th percentile
Published
2012-11-24

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.

Published · last modified .

CVSS v2 metric

CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.

Attack Vector
Network AV:N
Attack Complexity
Low AC:L
Au
N Au:N
Confidentiality
None C:N
Integrity
P I:P
Availability
None A:N

EPSS exploit prediction

EPSS 0.022, 82.9th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

References