CVE-2019-11879 Path traversal in n/a

Medium 5.5 Published Updated

An attacker with local access can create symlinks to read files outside the web root in the Ruby WEBrick library.

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

What is CVE-2019-11879?

CVE-2019-11879 is a medium-severity path traversal vulnerability in n/a, published on 10 May 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The WEBrick gem 1.4.2 for Ruby allows directory traversal if the attacker once had local access to create a symlink to a location outside of the web root directory. NOTE: The vendor states that this is analogous to Options FollowSymlinks in the Apache HTTP Server, and therefore it is "not a problem.

Weakness: CWE-59, CWE-22

Which versions are affected by CVE-2019-11879?

It affects 1 product.

Products include Ruby-Lang Webrick.

How do I fix CVE-2019-11879?

No fix has been published for CVE-2019-11879 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2019-11879 being exploited?

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

Sources

Also known as GHSA-jwh5-q83f-2jjc.

Is CVE-2019-11879 in your software?

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

Check your SBOMs for free