Back

MEDIUM

ruby: unintentional file creation caused by inserting an illegal NUL character

Published Nov 24, 2012

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.

Affected products

Remediation

Red Hat statement

This issue did not affect the versions of ruby as shipped with Red Hat Enterprise Linux 6.

Metrics

Weaknesses (2)

References (12)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner redhat
Published Nov 24, 2012
Updated Aug 6, 2024
Reserved Aug 21, 2012
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity Moderate
Public date Oct 12, 2012