{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2010/cve-2010-4312.json"
      }
    ],
    "title": "tomcat6: does not use HTTPOnly for session cookies by default",
    "tracking": {
      "current_release_date": "2026-11-05T03:00:55+00:00",
      "generator": {
        "date": "2026-11-05T03:00:55+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.4"
        }
      },
      "id": "CVE-2010-4312",
      "initial_release_date": "2010-11-22T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2010-11-22T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2025-04-11T01:03:58+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-05T03:00:55+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 6",
                "product": {
                  "name": "Red Hat Enterprise Linux 6",
                  "product_id": "red_hat_enterprise_linux_6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:6"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 6"
          },
          {
            "category": "product_version",
            "name": "tomcat6-servlet-2.5-api",
            "product": {
              "name": "tomcat6-servlet-2.5-api",
              "product_id": "tomcat6-servlet-2.5-api",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/tomcat6-servlet-2.5-api"
              }
            }
          },
          {
            "category": "product_version",
            "name": "tomcat6-webapps",
            "product": {
              "name": "tomcat6-webapps",
              "product_id": "tomcat6-webapps",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/tomcat6-webapps"
              }
            }
          },
          {
            "category": "product_version",
            "name": "tomcat6-el-2.1-api",
            "product": {
              "name": "tomcat6-el-2.1-api",
              "product_id": "tomcat6-el-2.1-api",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/tomcat6-el-2.1-api"
              }
            }
          },
          {
            "category": "product_version",
            "name": "tomcat6",
            "product": {
              "name": "tomcat6",
              "product_id": "tomcat6",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/tomcat6"
              }
            }
          },
          {
            "category": "product_version",
            "name": "tomcat6-jsp-2.1-api",
            "product": {
              "name": "tomcat6-jsp-2.1-api",
              "product_id": "tomcat6-jsp-2.1-api",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/tomcat6-jsp-2.1-api"
              }
            }
          },
          {
            "category": "product_version",
            "name": "tomcat6-admin-webapps",
            "product": {
              "name": "tomcat6-admin-webapps",
              "product_id": "tomcat6-admin-webapps",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/tomcat6-admin-webapps"
              }
            }
          },
          {
            "category": "product_version",
            "name": "tomcat6-javadoc",
            "product": {
              "name": "tomcat6-javadoc",
              "product_id": "tomcat6-javadoc",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/tomcat6-javadoc"
              }
            }
          },
          {
            "category": "product_version",
            "name": "tomcat6-lib",
            "product": {
              "name": "tomcat6-lib",
              "product_id": "tomcat6-lib",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/tomcat6-lib"
              }
            }
          },
          {
            "category": "product_version",
            "name": "tomcat6-docs-webapp",
            "product": {
              "name": "tomcat6-docs-webapp",
              "product_id": "tomcat6-docs-webapp",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/tomcat6-docs-webapp"
              }
            }
          },
          {
            "category": "product_version",
            "name": "tomcat6.src",
            "product": {
              "name": "tomcat6.src",
              "product_id": "tomcat6.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/tomcat6?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "tomcat6-log4j",
            "product": {
              "name": "tomcat6-log4j",
              "product_id": "tomcat6-log4j",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/tomcat6-log4j"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "tomcat6 as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:tomcat6"
        },
        "product_reference": "tomcat6",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "tomcat6-admin-webapps as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:tomcat6-admin-webapps"
        },
        "product_reference": "tomcat6-admin-webapps",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "tomcat6-docs-webapp as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:tomcat6-docs-webapp"
        },
        "product_reference": "tomcat6-docs-webapp",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "tomcat6-el-2.1-api as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:tomcat6-el-2.1-api"
        },
        "product_reference": "tomcat6-el-2.1-api",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "tomcat6-javadoc as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:tomcat6-javadoc"
        },
        "product_reference": "tomcat6-javadoc",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "tomcat6-jsp-2.1-api as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:tomcat6-jsp-2.1-api"
        },
        "product_reference": "tomcat6-jsp-2.1-api",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "tomcat6-lib as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:tomcat6-lib"
        },
        "product_reference": "tomcat6-lib",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "tomcat6-log4j as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:tomcat6-log4j"
        },
        "product_reference": "tomcat6-log4j",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "tomcat6-servlet-2.5-api as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:tomcat6-servlet-2.5-api"
        },
        "product_reference": "tomcat6-servlet-2.5-api",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "tomcat6-webapps as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:tomcat6-webapps"
        },
        "product_reference": "tomcat6-webapps",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "tomcat6.src as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:tomcat6.src"
        },
        "product_reference": "tomcat6.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2010-4312",
      "discovery_date": "2010-11-29T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "658267"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "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.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "tomcat6: does not use HTTPOnly for session cookies by default",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "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.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_affected": [
          "red_hat_enterprise_linux_6:tomcat6",
          "red_hat_enterprise_linux_6:tomcat6-admin-webapps",
          "red_hat_enterprise_linux_6:tomcat6-docs-webapp",
          "red_hat_enterprise_linux_6:tomcat6-el-2.1-api",
          "red_hat_enterprise_linux_6:tomcat6-javadoc",
          "red_hat_enterprise_linux_6:tomcat6-jsp-2.1-api",
          "red_hat_enterprise_linux_6:tomcat6-lib",
          "red_hat_enterprise_linux_6:tomcat6-log4j",
          "red_hat_enterprise_linux_6:tomcat6-servlet-2.5-api",
          "red_hat_enterprise_linux_6:tomcat6-webapps",
          "red_hat_enterprise_linux_6:tomcat6.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2010-4312"
        },
        {
          "category": "external",
          "summary": "RHBZ#658267",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=658267"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2010-4312",
          "url": "https://www.cve.org/CVERecord?id=CVE-2010-4312"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2010-4312",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2010-4312"
        }
      ],
      "release_date": "2010-11-22T00:00:00+00:00",
      "remediations": [
        {
          "category": "none_available",
          "details": "Affected",
          "product_ids": [
            "red_hat_enterprise_linux_6:tomcat6",
            "red_hat_enterprise_linux_6:tomcat6-admin-webapps",
            "red_hat_enterprise_linux_6:tomcat6-docs-webapp",
            "red_hat_enterprise_linux_6:tomcat6-el-2.1-api",
            "red_hat_enterprise_linux_6:tomcat6-javadoc",
            "red_hat_enterprise_linux_6:tomcat6-jsp-2.1-api",
            "red_hat_enterprise_linux_6:tomcat6-lib",
            "red_hat_enterprise_linux_6:tomcat6-log4j",
            "red_hat_enterprise_linux_6:tomcat6-servlet-2.5-api",
            "red_hat_enterprise_linux_6:tomcat6-webapps",
            "red_hat_enterprise_linux_6:tomcat6.src"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "products": [
            "red_hat_enterprise_linux_6:tomcat6",
            "red_hat_enterprise_linux_6:tomcat6-admin-webapps",
            "red_hat_enterprise_linux_6:tomcat6-docs-webapp",
            "red_hat_enterprise_linux_6:tomcat6-el-2.1-api",
            "red_hat_enterprise_linux_6:tomcat6-javadoc",
            "red_hat_enterprise_linux_6:tomcat6-jsp-2.1-api",
            "red_hat_enterprise_linux_6:tomcat6-lib",
            "red_hat_enterprise_linux_6:tomcat6-log4j",
            "red_hat_enterprise_linux_6:tomcat6-servlet-2.5-api",
            "red_hat_enterprise_linux_6:tomcat6-webapps",
            "red_hat_enterprise_linux_6:tomcat6.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate",
          "product_ids": [
            "red_hat_enterprise_linux_6:tomcat6",
            "red_hat_enterprise_linux_6:tomcat6-admin-webapps",
            "red_hat_enterprise_linux_6:tomcat6-docs-webapp",
            "red_hat_enterprise_linux_6:tomcat6-el-2.1-api",
            "red_hat_enterprise_linux_6:tomcat6-javadoc",
            "red_hat_enterprise_linux_6:tomcat6-jsp-2.1-api",
            "red_hat_enterprise_linux_6:tomcat6-lib",
            "red_hat_enterprise_linux_6:tomcat6-log4j",
            "red_hat_enterprise_linux_6:tomcat6-servlet-2.5-api",
            "red_hat_enterprise_linux_6:tomcat6-webapps",
            "red_hat_enterprise_linux_6:tomcat6.src"
          ]
        }
      ],
      "title": "tomcat6: does not use HTTPOnly for session cookies by default"
    }
  ]
}