CVE-2012-5380
6.7 · MEDIUMOverview
CVE-2012-5380 is a medium-severity vulnerability affecting ruby-lang ruby. It was published on October 11, 2012 and has a CVSS 3.1 base score of 6.7 (MEDIUM).
This vulnerability has a CVSS 3.1 base score of 6.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.
Technical Description
Untrusted search path vulnerability in the installation functionality in Ruby 1.9.3-p194, when installed in the top-level C:\ directory, might allow local users to gain privileges via a Trojan horse DLL in the C:\Ruby193\bin directory, which may be added to the PATH system environment variable by an administrator, as demonstrated by a Trojan horse wlbsctrl.dll file used by the "IKE and AuthIP IPsec Keying Modules" system service in Windows Vista SP1, Windows Server 2008 SP2, Windows 7 SP1, and Windows 8 Release Preview. NOTE: CVE disputes this issue because the unsafe PATH is established only by a separate administrative action that is not a default part of the Ruby installation
Remediation
Check the references section for vendor advisories and patches from ruby-lang. Update ruby to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
Affected Products
| Vendor | Product | Versions | Status |
|---|
Frequently Asked Questions
What is CVE-2012-5380?
CVE-2012-5380 is a medium-severity vulnerability affecting ruby-lang ruby. It was published on October 11, 2012 and has a CVSS 3.1 base score of 6.7 (MEDIUM).
How severe is CVE-2012-5380?
This vulnerability has a CVSS 3.1 base score of 6.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.
How do I fix or remediate CVE-2012-5380?
Check the references section for vendor advisories and patches from ruby-lang. Update ruby to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
How can CyberStrike help with CVE-2012-5380?
CyberStrike's AI-powered security agents can automatically detect CVE-2012-5380 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.
How CyberStrike Helps
AI agents map your attack surface to find vulnerabilities like this one.
Automated penetration testing that runs continuously, not just quarterly.
AI-driven PR review catches vulnerable dependencies before they ship.
Browser-based exploitation validates findings with real proof-of-concept.
Related MEDIUM CVEs from 2012
View all →Unspecified vulnerability in the Oracle JRockit component in Oracle Fusion Middleware 28.2.2 and ear
The auth_parse_options function in auth-options.c in sshd in OpenSSH before 5.7 provides debug messa
The setup_cifs_sb function in fs/cifs/connect.c in the Linux kernel before 2.6.39 does not properly
The GetEXIFProperty function in magick/property.c in ImageMagick before 6.7.6-3 allows remote attack
The JPEGWarningHandler function in coders/jpeg.c in ImageMagick before 6.7.6-3 allows remote attacke
The TIFFGetEXIFProperties function in coders/tiff.c in ImageMagick before 6.7.6-3 allows remote atta
Redland Raptor (aka libraptor) before 2.0.7, as used by OpenOffice 3.3 and 3.4 Beta, LibreOffice bef
file before 5.11 and libmagic allow remote attackers to cause a denial of service (crash) via a craf
The xml_parse function in the libxml2 support in the core server component in PostgreSQL 8.3 before
Cross-site scripting (XSS) vulnerability in Schneider Electric Modicon Quantum PLC allows remote att
Cross-site scripting (XSS) vulnerability in Adobe Flash Player before 10.3.183.15 and 11.x before 11
Cross-site scripting (XSS) vulnerability in Microsoft Internet Explorer 6 through 9 allows remote at