CVE-2020-13941 Improper Input Validation in Apache Solr

High 8.8 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2020-13941?

CVE-2020-13941 is a high-severity vulnerability in Apache Solr, published on 17 Aug 2020.

Official description

Reported in SOLR-14515 (private) and fixed in SOLR-14561 (public), released in Solr version 8.6.0. The Replication handler (https://lucene.apache.org/solr/guide/8_6/index-replication.html#http-api-commands-for-the-replicationhandler) allows commands backup, restore and deleteBackup. Each of these take a location parameter, which was not validated, i.e you could read/write to any location the solr user can access.

Weakness: CWE-20

Which versions are affected by CVE-2020-13941?

3 open source packages ship an affected version, including org.apache.solr:solr-parent and solr. It affects 1 product.

PackageAffectedFixed in
org.apache.solr:solr-parent MavenAll versions8.6.0
org.apache.solr:solr-parent MavenAll versions8.6.0
solr BitnamiAll versions8.6.0

Products include Apache Solr.

How do I fix CVE-2020-13941?

Upgrade org.apache.solr:solr-parent to 8.6.0 or later.

Is CVE-2020-13941 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as BIT-solr-2020-13941, DEBIAN-CVE-2020-13941, GHSA-2467-h365-j7hm, UBUNTU-CVE-2020-13941.

Is CVE-2020-13941 in your software?

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

Check your SBOMs for free