Skip to content
CVE Tracker
Back

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…

Medium5.0EPSS 2.2%
Published
Updated
Reserved
Assigned by
redhat

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.

Scores

CVSS scores of CVE-2012-4522, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified2.0Medium5.0AV:N/AC:L/Au:N/C:N/I:P/A:N
EPSS (exploitation in 30 days)
2.2% · top 17% of all CVEs (2 Nov 2026)

Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.

Weakness

Affected products

  • n/a

    • affected n/a

References (8)

Sources

The same CVE in the primary databases and aggregators, to check against.

Record last updated .