CVE-2019-12401
Vulnerability in Apache Solr
Check your servers for CVE-2019-12401
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2019-12401 affects solr, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Solr versions 1.3.0 to 1.4.1, 3.1.0 to 3.6.2 and 4.0.0 to 4.10.4 are vulnerable to an XML resource consumption attack (a.k.a. Lol Bomb) via it’s update handler.?By leveraging XML DOCTYPE and ENTITY type elements, the attacker can create a pattern that will expand when the server parses the XML causing OOMs.
Exploitation
EPSS 8.55%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 95.8% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
Is my server affected?
Find the installed version of solr and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i solr
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-12401 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-12401RHEL, Rocky, Alma, Fedora
rpm -q solr
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-12401Alpine
apk list --installed | grep -i solrWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2019-12401
trivy image --scanners vuln IMAGE | grep CVE-2019-12401
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the agent.
References
Advisories
- https://security.netapp.com/advisory/ntap-20190926-0002/ security.netapp.com
Other references
- [lucene-general] 20190909 [SECURITY] CVE-2019-12401: XML Bomb in Apache Solr versions prior to 5.0 lists.apache.org · mailing list
- [lucene-dev] 20190909 [SECURITY] CVE-2019-12401: XML Bomb in Apache Solr versions prior to 5.0 lists.apache.org · mailing list
- [oss-security] 20190909 [SECURITY] CVE-2019-12401: XML Bomb in Apache Solr versions prior to 5.0 openwall.com · mailing list
- [lucene-dev] 20190909 [jira] [Resolved] (SOLR-13750) [CVE-2019-12401] XML Bomb in Apache Solr versions prior to 5.0.0 lists.apache.org · mailing list
- [announce] 20190909 [SECURITY] CVE-2019-12401: XML Bomb in Apache Solr versions prior to 5.0 lists.apache.org · mailing list
- [lucene-solr-user] 20190909 [SECURITY] CVE-2019-12401: XML Bomb in Apache Solr versions prior to 5.0 lists.apache.org · mailing list
- [lucene-dev] 20190909 [jira] [Updated] (SOLR-13750) [CVE-2019-12401] XML Bomb in Apache Solr versions prior to 5.0.0 lists.apache.org · mailing list
- [www-announce] 20190909 [SECURITY] CVE-2019-12401: XML Bomb in Apache Solr versions prior to 5.0 mail-archives.us.apache.org · mailing list
- [lucene-dev] 20190911 [jira] [Commented] (SOLR-13750) [CVE-2019-12401] XML Bomb in Apache Solr versions prior to 5.0.0 lists.apache.org · mailing list
- https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2019-12401-XML%20Bomb-Apache%20Solr github.com
Source: the record CVE-2019-12401 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse