CVE-2021-29262 Misapplied Zookeeper ACLs can result in leakage of configured authentication and authorization settings

High 7.5 Published Updated

Misapplied Zookeeper ACLs in Apache Solr allow attackers to read sensitive authentication and authorization settings from the security.json node.

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

What is CVE-2021-29262?

CVE-2021-29262 is a high-severity vulnerability in Apache Solr, published on 13 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

When starting Apache Solr versions prior to 8.8.2, configured with the SaslZkACLProvider or VMParamsAllAndReadonlyDigestZkACLProvider and no existing security.json znode, if the optional read-only user is configured then Solr would not treat that node as a sensitive path and would allow it to be readable. Additionally, with any ZkACLProvider, if the security.json is already present, Solr will not automatically update the ACLs.

Weakness: CWE-522

Which versions are affected by CVE-2021-29262?

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

PackageAffectedFixed in
org.apache.solr:solr-core MavenAll versions8.8.2
org.apache.solr:solr-core MavenAll versions8.8.2
solr BitnamiAll versions8.8.2

Products include Apache Solr.

How do I fix CVE-2021-29262?

Upgrade org.apache.solr:solr-core to 8.8.2 or later.

Is CVE-2021-29262 being exploited?

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

Sources

Also known as BIT-solr-2021-29262, GHSA-jgcr-fg3g-qvw8, UBUNTU-CVE-2021-29262.

Is CVE-2021-29262 in your software?

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

Check your SBOMs for free