CVE-2012-4522 - CVE House
Back to Database
Status published Medium CVE-2012-4522

The rb_get_path_check function in file.c in Ruby 1.9.3 before patchlevel...

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2012-4522

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

ruby
Vulnerable Versions:
1.9.3, 2.0.0

Timeline

Official Publish: November 24th, 2012
Last Modified: August 6th, 2024
Added to House: July 19th, 2026

CVSS Vectors

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.