CVE-2020-29050 Path traversal in n/a

High 7.5 Published Updated

Attackers can read arbitrary files from the server filesystem via directory traversal in SphinxSearch using MySQL client operations.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-29050?

CVE-2020-29050 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 7 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SphinxSearch in Sphinx Technologies Sphinx through 3.1.1 allows directory traversal (in conjunction with CVE-2019-14511) because the mysql client can be used for CALL SNIPPETS and load_file operations on a full pathname (e.g., a file in the /etc directory). NOTE: this is unrelated to CMUSphinx.

Weakness: CWE-22

Which versions are affected by CVE-2020-29050?

It affects 2 products.

Linux distribution packages (2)
sphinx openSUSE:Leap 15.3All versions2.2.11-lp153.2.3.1
sphinx openSUSE:Leap 15.4All versions2.2.11-lp154.3.3.1

Products include Debian Debian Linux, Sphinxsearch Sphinx.

How do I fix CVE-2020-29050?

Apply the vendor's patch.

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

Is CVE-2020-29050 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-29050, DLA-2882-1, DSA-5036-1, GHSA-4g2j-rgw2-wmrw, MGASA-2022-0110, OESA-2022-1496 and 4 more.

Is CVE-2020-29050 in your software?

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

Check your SBOMs for free