CVE-2014-1831 Insecure use of temporary files in passenger

Low 2.1 Published Updated

Local attackers can overwrite critical Passenger files via symlink attacks, potentially compromising application integrity.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2014-1831?

CVE-2014-1831 is a low-severity path traversal vulnerability in n/a, published on 19 Feb 2015. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Phusion Passenger before 4.0.37 allows local users to write to certain files and directories via a symlink attack on (1) control_process.pid or a (2) generation-* file.

Which versions are affected by CVE-2014-1831?

2 open source packages ship an affected version, including passenger. It affects 1 product.

PackageAffectedFixed in
passenger RubyGemsAll versions4.0.38
passenger RubyGemsAll versions4.0.38

Products include Phusion Passenger.

How do I fix CVE-2014-1831?

Upgrade passenger to 4.0.38 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2014-1831 being exploited?

There is no known exploitation of CVE-2014-1831 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2014-1831, GHSA-c7j7-p5jq-26ff.

Is CVE-2014-1831 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free