CVE-2012-4522

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
5 UNKNOWN
NETWORK
LOW
AV:N/AC:L/Au:N/C:N/I:P/A:N
redhatCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 64%
VendorProductVersion
ruby-langruby
1.9.3
ruby-langruby
2.0.0
𝑥
= Vulnerable software versions
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
ruby1.8
quantal
not-affected
precise
not-affected
oneiric
not-affected
natty
not-affected
lucid
not-affected
hardy
ignored
ruby1.9
quantal
dne
precise
dne
oneiric
dne
natty
dne
lucid
not-affected
hardy
ignored
ruby1.9.1
quantal
Fixed 1.9.3.194-1ubuntu1.2
released
precise
Fixed 1.9.3.0-1ubuntu2.4
released
oneiric
not-affected
natty
not-affected
lucid
not-affected
hardy
dne
Common Weakness Enumeration