CVE-2010-4312Apache Tomcat
Medium 6.4 No auth needed
Follow: this CVE · Apache · Apache Tomcat We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 2.0
- 6.4
- EPSS
- 2.1% probability of exploitation in 30 days · percentile 83
- Auth required
- No
- Published
- Nov 26, 2010
- Updated
- Jun 16, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-16
- Vector
AV:N/AC:L/Au:N/C:N/I:P/A:P
What happens
The default configuration of Apache Tomcat 6.x does not include the HTTPOnly flag in a Set-Cookie header, which makes it easier for remote attackers to hijack a session via script access to a cookie.
What to do
- Apply the vendor's security update for Tomcat.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat |
≥ 6.0.0 < 6.0.35 |
6.0.35 |
— |
Per OSV / GitHub Advisories (GHSA-pvjh-7h8q-q56r). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | tomcat | 6.0 |
| apache | tomcat | 6.0.0 |
| apache | tomcat | 6.0.1 |
| apache | tomcat | 6.0.2 |
| apache | tomcat | 6.0.3 |
| apache | tomcat | 6.0.4 |
| apache | tomcat | 6.0.5 |
| apache | tomcat | 6.0.6 |
| apache | tomcat | 6.0.7 |
| apache | tomcat | 6.0.8 |
| apache | tomcat | 6.0.9 |
| apache | tomcat | 6.0.10 |
| apache | tomcat | 6.0.11 |
| apache | tomcat | 6.0.12 |
| apache | tomcat | 6.0.13 |
| apache | tomcat | 6.0.14 |
| apache | tomcat | 6.0.15 |
| apache | tomcat | 6.0.16 |
| apache | tomcat | 6.0.17 |
| apache | tomcat | 6.0.18 |
| apache | tomcat | 6.0.19 |
| apache | tomcat | 6.0.20 |
| apache | tomcat | 6.0.24 |
| apache | tomcat | 6.0.26 |
| apache | tomcat | 6.0.27 |
| apache | tomcat | 6.0.28 |
| apache | tomcat | 6.0.29 |
Official sources
References
Links published by the sources. Open them with care.