CVE-2012-4522

Advisory lineage Upstream: 0 Downstream: 3
Modified
Published: 24 Nov 2012, 20:00
Last modified:06 Aug 2024, 20:42

Vulnerability Summary

Overall Risk (default)
low
20/100
CVSS Score
5 MEDIUM
v2.0 (nvd)
EPSS Score
0.22% LOW
0% probability -0.19%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

24 Nov 2012, 20:00
Published
Vulnerability first disclosed
06 Aug 2024, 20:42
Last Modified
Vulnerability information updated

Description

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.

CVSS Metrics

  • v2.0MEDIUMScore: 5AV:N/AC:L/Au:N/C:N/I:P/A:N

EPSS Trends

Current EPSS score: 0.22% Percentile: 45%

Techniques & Countermeasures

  • CWE-264Permissions, Privileges, and Access Controls

    Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.

Affected Systems

  • ruby-langruby

    1.9.3 | 2.0.0

References (8)