CVE-2018-12563 Path traversal in n/a

Medium 6.5 Published Updated

An attacker can force the LAVA server to read arbitrary files from the filesystem by exploiting support for file: URLs in YAML inputs.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-12563?

CVE-2018-12563 is a medium-severity path traversal vulnerability in n/a, published on 19 Jun 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue was discovered in Linaro LAVA before 2018.5.post1. Because of support for file: URLs, a user can force lava-server-gunicorn to download any file from the filesystem if it's readable by lavaserver and valid yaml.

Weakness: CWE-20

Which versions are affected by CVE-2018-12563?

It affects 1 product.

Products include Linaro Lava.

How do I fix CVE-2018-12563?

Upgrade to a fixed version.

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

Is CVE-2018-12563 being exploited?

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

Sources

Also known as DEBIAN-CVE-2018-12563, GHSA-4mrc-59wr-qp25.

Is CVE-2018-12563 in your software?

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

Check your SBOMs for free