Summary
Apache Tomcat 6.0.0 through 6.0.14, 5.5.0 through 5.5.25, and 4.1.0 through 4.1.36 does not properly handle (1) double quote (") characters or (2) %5C (encoded backslash) sequences in a cookie value, which might cause sensitive information such as session IDs to be leaked to remote attackers and enable session hijacking attacks. NOTE: this issue exists because of an incomplete fix for CVE-2007-3385.
Impact
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Remediation advice
org.apache.tomcat:tomcat to 6.0.15 or later; org.apache.tomcat:tomcat to 5.5.26 or later; org.apache.tomcat:tomcat to 4.1.37 or later
Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
Frequently Asked Questions
- What is CVE-2007-5333? CVE-2007-5333 is a medium-severity security vulnerability in org.apache.tomcat:tomcat (maven), affecting versions >= 6.0.0, < 6.0.15. It is fixed in 6.0.15, 5.5.26, 4.1.37.
- Which versions of org.apache.tomcat:tomcat are affected by CVE-2007-5333? org.apache.tomcat:tomcat (maven) versions >= 6.0.0, < 6.0.15 is affected.
- Is there a fix for CVE-2007-5333? Yes. CVE-2007-5333 is fixed in 6.0.15, 5.5.26, 4.1.37. Upgrade to this version or later.
- Is CVE-2007-5333 exploitable, and should I be worried? Whether CVE-2007-5333 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether CVE-2007-5333 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix CVE-2007-5333?
- Upgrade
org.apache.tomcat:tomcatto 6.0.15 or later - Upgrade
org.apache.tomcat:tomcatto 5.5.26 or later - Upgrade
org.apache.tomcat:tomcatto 4.1.37 or later
- Upgrade