CVE-2012-6135 RubyGems passenger gem allows remote attackers to delete files
Remote attackers can delete arbitrary files during the startup process of the Ruby application server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-6135?
CVE-2012-6135 is a high-severity path traversal vulnerability in Redhat Openshift, published on 19 Nov 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
RubyGems passenger 4.0.0 betas 1 and 2 allows remote attackers to delete arbitrary files during the startup process.
Weakness: CWE-20
Which versions are affected by CVE-2012-6135?
2 open source packages ship an affected version, including passenger. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
passenger RubyGems | All versions | 4.0.0.rc4 |
passenger RubyGems | All versions | 4.0.0.rc4 |
Products include Phusion Passenger, Redhat Openshift.
How do I fix CVE-2012-6135?
Upgrade passenger to 4.0.0.rc4 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2012-6135 being exploited?
There is no known exploitation of CVE-2012-6135 in the wild and no public exploit code.
Other vulnerabilities in Redhat Openshift
- CVE-2018-12026 Phusion Passenger SpawningKit Contains Arbitrary Read/Write Vulnerability
- CVE-2018-12027 Insecure Permissions in Phusion Passenger
- CVE-2018-12028 Incorrect Access Control in Phusion Passenger
- CVE-2016-10345 Phusion Passenger uses a known /tmp filename
- CVE-2025-26803 Phusion Passenger denial of service
Sources
Also known as GHSA-8mw8-j583-vqfg.