Apache Tomcat Allows Replacing of XML Parser
Published 17 May 2022 · Updated 21 Feb 2024
Is your project on an affected org.apache.tomcat:tomcat?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- >=7.0.0 <7.0.17
- Fixed in
- 7.0.17
mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat -DdepVersion=7.0.17 -DforceVersion=trueDetails
Apache Tomcat 7.0.x before 7.0.17 permits web applications to replace an XML parser used for other web applications, which allows local users to read or modify the (1) web.xml, (2) context.xml, or (3) tld files of arbitrary web applications via a crafted application that is loaded earlier than the target application. NOTE: this vulnerability exists because of a CVE-2009-0783 regression.
Is GHSA-r7c8-hghc-2mp8 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.tomcat:tomcat, and gives you the command that fixes it.
More advisories for org.apache.tomcat:tomcat
- CriticalCVE-2026-65905Apache Tomcat's DIGEST authenticator has an Authentication Bypass by Capture-replay vulnerability · 26 Aug 2026
- CriticalCVE-2026-65182Apache Tomcat has an Improper Access Control, Incorrect Authorization vulnerability · 26 Aug 2026
- CriticalCVE-2026-68525Apache Tomcat's FORM authentication process has an Incorrect Authorization vulnerability · 26 Aug 2026
- CriticalCVE-2026-55276Apache Tomcat has an Always-Incorrect Control Flow Implementation vulnerability · 29 Jun 2026
- HighCVE-2026-55957Apache Tomcat has a Missing Critical Step in Authentication vulnerability · 29 Jun 2026
- HighCVE-2026-53404Apache Tomcat's rewrite valve has an Always-Incorrect Control Flow Implementation vulnerability · 29 Jun 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2011-2481
- Linkgithub.com/apache/tomcat/commit/279e4451cb996f810fbca2f78b6340412d9daa7b
- Packagegithub.com/apache/tomcat
- Linkissues.apache.org/bugzilla/show_bug.cgi?id=51395
- Linkweb.archive.org/web/20111209022500/http://www.securityfocus.com/bid/49147
- Linkweb.archive.org/web/20161127215021/http://securitytracker.com/id?1025924
- Linkmarc.info/?l=bugtraq&m=139344343412337&w=2
- Linksvn.apache.org/viewvc?view=revision&revision=1137753
- Linksvn.apache.org/viewvc?view=revision&revision=1138788
- Linktomcat.apache.org/security-7.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.