CVE-2007-3382: Apache Tomcat Cookie Single-Quote Session Information Disclosure
- Vendor
- Apache Software Foundation
CVE-2007-3382 is an information-disclosure flaw in Apache Tomcat cookie parsing. Tomcat incorrectly interprets a single-quote character in a cookie value as a cookie delimiter, causing it to improperly process cookies following the quoted value. This behavior can expose sensitive cookie data, including session identifiers. Affected releases are Tomcat 6.0.0 through 6.0.13, 5.5.0 through 5.5.24, 5.0.0 through 5.0.30, 4.1.0 through 4.1.36, and 3.3 through 3.3.2.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A remote attacker may cause disclosure of session identifiers or other sensitive cookie values. Possession of a disclosed valid session ID can enable session hijacking and unauthorized access in the context of the affected user session. In conjunction with a separate cross-site scripting condition, malformed cookie handling may also prevent affected clients from logging in with cookies, resulting in denial of service.
Mitigation
If you can’t patch tonight, do this now.
Until upgraded, restrict access to affected Tomcat services to trusted networks and users, and reduce exposure of endpoints that process untrusted cookie headers. Use layered session protections, including TLS and short-lived or rotated session identifiers, to reduce the consequences of session-token exposure. Identify and remediate cross-site scripting flaws, which can compound the impact of cookie parsing errors.
Remediation
Patch, then assume compromise.
Upgrade to a vendor-fixed Tomcat release. Tomcat 6 deployments should be upgraded to 6.0.14 or later. Tomcat 4.1 deployments should be upgraded to at least 4.1.37; all end-of-life Tomcat 3.x, 4.x, and 5.x deployments should be migrated to a currently supported Tomcat release to receive ongoing security fixes.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2007-3382 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2007-3382 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2007-3382?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2007-3382. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2007-3382?
- Upgrade to a vendor-fixed Tomcat release. Tomcat 6 deployments should be upgraded to 6.0.14 or later.
- What products are affected by CVE-2007-3382?
- Apache Software Foundation Tomcat.
- How severe is CVE-2007-3382?
- CVE-2007-3382 has a CVSS v2 score of 4.3 (Medium) and an EPSS score of 37.5% (99th percentile) as of Oct 16, 2026.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.