Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2012-4522

published

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

Title from Red Hat VEX

Published
24 Nov 2012, 20:00:00 UTC
Updated
06 Aug 2024, 20:42:53 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated redhat
Debian squeeze ruby1.9.1 Advisory build 1.9.2.0-2+deb6u4 DLA-235-1
Red Hat Enterprise Linux RHEL-5 rubyi386 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 rubyia64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 rubyppc Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 rubys390x Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 rubysrc Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 rubyx86_64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Show 51 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-5 ruby-debuginfoi386 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-debuginfoia64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-debuginfoppc Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-debuginfoppc64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-debuginfos390 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-debuginfos390x Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-debuginfox86_64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-develi386 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-develia64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-develppc Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-develppc64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-devels390 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-devels390x Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-develx86_64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-docsi386 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-docsia64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-docsppc Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-docss390x Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-docsx86_64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-irbi386 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-irbia64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-irbppc Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-irbs390x Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-irbx86_64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-libsi386 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-libsia64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-libsppc Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-libsppc64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-libss390 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-libss390x Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-libsx86_64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-modei386 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-modeia64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-modeppc Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-modes390x Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-modex86_64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-rdoci386 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-rdocia64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-rdocppc Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-rdocs390x Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-rdocx86_64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-rii386 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-riia64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-rippc Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-ris390x Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-rix86_64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-tcltki386 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-tcltkia64 Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-tcltkppc Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-tcltks390x Advisory build 1.8.5-27.el5 RHSA-2013:0129
Red Hat Enterprise Linux RHEL-5 ruby-tcltkx86_64 Advisory build 1.8.5-27.el5 RHSA-2013:0129

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) redhat · cna

Weaknesses

1
  • n/a (redhat · cna)

References

8

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
cf661199c5d9339108c8ed2cdbbf014a192825676f31fa1d0be53d2ecc4e9724
Ingested
23 Sep 2026, 07:39:22 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected