Skip to content
Heist/ feed
Back to feed
HighFix available

tomcat9 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-25762

If a web application sends a WebSocket message concurrently with the WebSocket connection closing when running on Apache Tomcat 8.5.0 to 8.5.75 or Apache Tomcat 9.0.0.M1 to 9.0.20, it is possible that the application will continue to use the socket after it has been closed. The error handling triggered in this case could cause the a pooled object to be placed in the pool twice. This could result in subsequent connections using the same object concurrently which could result in data being returned to the wrong use and/or other errors.

Products
tomcat9
Affected versions
Not specified
Fixed versions
9.0.22-1
CVEs
CVE-2022-25762
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 11:08 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-25762

core-osv · Original source

Published 13 May 2022, 08:15 UTC

If a web application sends a WebSocket message concurrently with the WebSocket connection closing when running on Apache Tomcat 8.5.0 to 8.5.75 or Apache Tomcat 9.0.0.M1 to 9.0.20, it is possible that the application will continue to use the socket after it has been closed. The error handling triggered in this case could cause the a pooled object to be placed in the pool twice. This could result in subsequent connections using the same object concurrently which could result in data being returned to the wrong use and/or other errors.

osv:DEBIAN-CVE-2022-25762

tomcat9

Fixed versions: 9.0.22-1

tomcat9

Fixed versions: 9.0.22-1

tomcat9

Fixed versions: 9.0.22-1

Complete source record
{
  "id": "a4f12aa77d508a27c52e8298bfef6d442a88c5f90d774fdc1bc3b5e229fd43de",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-25762",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-25762",
    "summary": "If a web application sends a WebSocket message concurrently with the WebSocket connection closing when running on Apache Tomcat 8.5.0 to 8.5.75 or Apache Tomcat 9.0.0.M1 to 9.0.20, it is possible that the application will continue to use the socket after it has been closed. The error handling triggered in this case could cause the a pooled object to be placed in the pool twice. This could result in subsequent connections using the same object concurrently which could result in data being returned to the wrong use and/or other errors.",
    "evidence": "osv:DEBIAN-CVE-2022-25762",
    "products": [
      {
        "name": {
          "value": "tomcat9",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.0.22-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "tomcat9",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.0.22-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "tomcat9",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.0.22-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2022-25762",
      "aliases": [
        "DEBIAN-CVE-2022-25762"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.0.22-1"
                }
              ]
            }
          ],
          "package": {
            "name": "tomcat9",
            "purl": "pkg:deb/debian/tomcat9?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-25762.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.0.22-1"
                }
              ]
            }
          ],
          "package": {
            "name": "tomcat9",
            "purl": "pkg:deb/debian/tomcat9?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-25762.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.0.22-1"
                }
              ]
            }
          ],
          "package": {
            "name": "tomcat9",
            "purl": "pkg:deb/debian/tomcat9?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-25762.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-09T09:47:33.326129126Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-25762"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-25762"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-25762",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 111641,
  "published_at": "2022-05-13T08:15:06.843+00:00"
}