Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat/tomcat
  4. ›
  5. CVE-2010-4312

CVE-2010-4312: Apache Tomcat has cookies without HTTPOnly flag in Set-Cookie header

May 14, 2022 (updated February 7, 2024)

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.

References

  • bugs.debian.org/cgi-bin/bugreport.cgi?bug=608286
  • github.com/advisories/GHSA-pvjh-7h8q-q56r
  • launchpad.net/bugs/cve/CVE-2010-4312
  • nvd.nist.gov/vuln/detail/CVE-2010-4312
  • security-tracker.debian.org/tracker/CVE-2010-4312
  • ubuntu.com/security/CVE-2010-4312

Code Behaviors & Features

Detect and mitigate CVE-2010-4312 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.0.0 before 6.0.35

Fixed versions

  • 6.0.35

Solution

Upgrade to version 6.0.35 or above.

Impact 6.4 MEDIUM

AV:N/AC:L/Au:N/C:N/I:P/A:P

Learn more about CVSS

Weakness

  • CWE-16

Source file

maven/org.apache.tomcat/tomcat/CVE-2010-4312.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:03 +0000.