CVE-2012-0022
Apache Tomcat 5.5.x before 5.5.35, 6.x before 6.0.34, and 7.x before 7.0.23 uses an inefficient approach for handling parameters, which…
Check your servers for CVE-2012-0022
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-2012-0022 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
Apache Tomcat 5.5.x before 5.5.35, 6.x before 6.0.34, and 7.x before 7.0.23 uses an inefficient approach for handling parameters, which allows remote attackers to cause a denial of service (CPU consumption) via a request that contains many parameters and parameter values, a different vulnerability than CVE-2011-4858.
Exploitation
EPSS 10.4%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.4% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) 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 PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2012-0022 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2012-0022RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2012-0022Alpine
apk list --installed | grep -i PACKAGEWith 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-2012-0022
trivy image --scanners vuln IMAGE | grep CVE-2012-0022
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 or read how to install the agent.
References
Advisories
- DSA-2401 debian.org · vendor advisory
- RHSA-2012:0325 rhn.redhat.com · vendor advisory
- HPSBUX02860 marc.info · vendor advisory
- RHSA-2012:0078 rhn.redhat.com · vendor advisory
- MDVSA-2012:085 mandriva.com · vendor advisory
- 48791 secunia.com · third party advisory
- http://www.oracle.com/technetwork/topics/security/cpujan2013-1515902.html oracle.com
- RHSA-2012:0075 rhn.redhat.com · vendor advisory
- RHSA-2012:0074 rhn.redhat.com · vendor advisory
- http://tomcat.apache.org/security-7.html tomcat.apache.org
- 48549 secunia.com · third party advisory
- 48790 secunia.com · third party advisory
11 more
- http://tomcat.apache.org/security-6.html tomcat.apache.org
- RHSA-2012:1331 rhn.redhat.com · vendor advisory
- 50863 secunia.com · third party advisory
- RHSA-2012:0345 rhn.redhat.com · vendor advisory
- http://tomcat.apache.org/security-5.html tomcat.apache.org
- SSRT100771 marc.info · vendor advisory
- SSRT100728 marc.info · vendor advisory
- MDVSA-2013:150 mandriva.com · vendor advisory
- RHSA-2012:0076 rhn.redhat.com · vendor advisory
- 48213 secunia.com · third party advisory
- RHSA-2012:0077 rhn.redhat.com · vendor advisory
Other references
- apache-tomcat-parameter-dos(72425) exchange.xforce.ibmcloud.com · vdb entry
- oval:org.mitre.oval:def:16925 oval.cisecurity.org · vdb entry, signature
- 51447 securityfocus.com · vdb entry
- oval:org.mitre.oval:def:18934 oval.cisecurity.org · vdb entry, signature
- 20120117 [SECURITY] CVE-2012-0022 Apache Tomcat Denial of Service archives.neohapsis.com · mailing list
- [tomcat-dev] 20190319 svn commit: r1855831 [22/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ lists.apache.org · mailing list
- [tomcat-dev] 20190325 svn commit: r1856174 [20/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ lists.apache.org · mailing list
- [tomcat-dev] 20200203 svn commit: r1873527 [22/30] - /tomcat/site/trunk/docs/ lists.apache.org · mailing list
- [tomcat-dev] 20200213 svn commit: r1873980 [25/34] - /tomcat/site/trunk/docs/ lists.apache.org · mailing list
Source: the record CVE-2012-0022 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