cve.bz

CVE-2010-4312 apache tomcat: Configuration

no score yetEPSS 2.1%Fix available

apache tomcat: no CVSS score yet. EPSS 2.1% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat 6.0.35.

On this page
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.
EPSS
2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-16 Configuration
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • org.apache.tomcat:tomcat (Maven): fixed in 6.0.35

Ask an AI about this CVE

Show the promptExplain CVE-2010-4312 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2010-4312?via=ask-ai-copy and https://cve.bz/cve/CVE-2010-4312?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2010-4312 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:tomcat6.0
apache:tomcat6.0.0
apache:tomcat6.0.1
apache:tomcat6.0.2
apache:tomcat6.0.3
apache:tomcat6.0.4
apache:tomcat6.0.5
apache:tomcat6.0.6
apache:tomcat6.0.7
apache:tomcat6.0.8
apache:tomcat6.0.9
apache:tomcat6.0.10
apache:tomcat6.0.11
apache:tomcat6.0.12
apache:tomcat6.0.13
apache:tomcat6.0.14
apache:tomcat6.0.15
apache:tomcat6.0.16
apache:tomcat6.0.17
apache:tomcat6.0.18
apache:tomcat6.0.19
apache:tomcat6.0.20
apache:tomcat6.0.24
apache:tomcat6.0.26
apache:tomcat6.0.27
apache:tomcat6.0.28
apache:tomcat6.0.29

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pvjh-7h8q-q56rMavenorg.apache.tomcat:tomcat>=6.0.0 <6.0.356.0.35

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue is only a defense-in-depth measure, and we currently have no plans to fix this flaw in Red Hat Enterprise Linux 6. The use of the useHttpOnly setting in Tomcat only prohibits client scripts from accessing cookies when it is correctly implemented in the user's web browser. The use of httpOnly does not guarantee XSS protection; it is only a defense-in-depth measure. Additionally, implementing this as a default setting could have negative impact on existing expected behavior in client scripts. As a result, the Red Hat Security Response Team has determined that this issue is not a security flaw, but a proactive hardening measure and the risk associated with implementing it by default and possibly breaking expected behaviour is greater than any benefits it provides. Users who wish to take advantage of this hardening measure can enable useHttpOnly by adding '<Context useHttpOnly="true">' to the default context.xml or a specific web-application context.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6tomcat6Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2010-4312.

References

Check your stackJSON