---
title: "CVE-2012-5380\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2012-5380?format=md
keywords: index, follow
---

# CVE-2012-5380

Publication date 11 October 2012

Last updated 4 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**6.7 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2012-5380?format=md#impact-score)

Toggle side navigation

## 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

[Read the notes from the security team](https://ubuntu.com/security/CVE-2012-5380?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| ruby1.8 | 12.04 LTS precise | Not affected |
| 11.10 oneiric | Not affected |
| 11.04 natty | Not affected |
| 10.04 LTS lucid | Not affected |
| 8.04 LTS hardy | Ignored end of life |
| ruby1.9.1 | 12.04 LTS precise | Not affected |
| 11.10 oneiric | Not affected |
| 11.04 natty | Not affected |
| 10.04 LTS lucid | Not affected |
| 8.04 LTS hardy | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [jdstrand](https://launchpad.net/~jdstrand)

Windows only

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

6.7 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | High |
  | Privileges required | Low |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.7 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-5380)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2012-5380)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2012-5380)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2012-5380)

### Other references

* <https://www.htbridge.com/advisory/HTB23108>
* <https://www.cve.org/CVERecord?id=CVE-2012-5380>
