CVE catalog

CVE-2022-31015

waitress affected and fixed versions

[CVE catalog]

Waitress is a Web Server Gateway Interface server for Python 2 and 3. Waitress versions 2.1.0 and 2.1.1 may terminate early due to a thread closing a socket while the main thread is about to call select(). This will lead to the main thread raising an exception that is not handled and then causing the entire application to be killed. This issue has been fixed in Waitress 2.1.2 by no longer allowing the WSGI thread to close the socket. Instead, that is always delegated to the main thread. There is no work-around for this issue. However, users using waitress behind a reverse proxy server are less likely to have issues if the reverse proxy always reads the full response.

Severity
Medium · CVSS 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
1.50% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixiewaitress2.1.2-1FixedDistribution-reported fixed boundary[CVE-2022-31015]
Debiantrixiewaitress3.0.2-1Fixed[CVE-2022-31015]
Debiansidwaitress2.1.2-1FixedDistribution-reported fixed boundary[CVE-2022-31015]
Debiansidwaitress3.0.2-2Fixed[CVE-2022-31015]
Debianforkywaitress2.1.2-1FixedDistribution-reported fixed boundary[CVE-2022-31015]
Debianforkywaitress3.0.2-2Fixed[CVE-2022-31015]
Debianbookwormwaitress2.1.2-1FixedDistribution-reported fixed boundary[CVE-2022-31015]
Debianbookwormwaitress2.1.2-2+deb12u1Fixed[CVE-2022-31015]
Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
Debianbookwormwaitress2.1.2-1FixedDistribution-reported fixed boundary[CVE-2022-31015]
Debianbookwormwaitress2.1.2-2+deb12u1Fixed[CVE-2022-31015]
Debianforkywaitress2.1.2-1FixedDistribution-reported fixed boundary[CVE-2022-31015]
Debianforkywaitress3.0.2-2Fixed[CVE-2022-31015]
Debiansidwaitress2.1.2-1FixedDistribution-reported fixed boundary[CVE-2022-31015]
Debiansidwaitress3.0.2-2Fixed[CVE-2022-31015]
Debiantrixiewaitress2.1.2-1FixedDistribution-reported fixed boundary[CVE-2022-31015]
Debiantrixiewaitress3.0.2-1Fixed[CVE-2022-31015]
Original provider fields
{
  "package_releases": [
    {
      "name": "waitress",
      "status": "fixed",
      "release": "sid",
      "version": "3.0.2-2"
    },
    {
      "name": "waitress",
      "status": "fixed",
      "release": "forky",
      "version": "3.0.2-2"
    },
    {
      "name": "waitress",
      "status": "fixed",
      "release": "trixie",
      "version": "3.0.2-1"
    },
    {
      "name": "waitress",
      "status": "fixed",
      "release": "bookworm",
      "version": "2.1.2-2+deb12u1"
    }
  ],
  "fixed_versions": [
    {
      "bug": 1012315,
      "name": "waitress",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "2.1.2-1"
    },
    {
      "bug": 1012315,
      "name": "waitress",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "2.1.2-1"
    },
    {
      "bug": 1012315,
      "name": "waitress",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "2.1.2-1"
    },
    {
      "bug": 1012315,
      "name": "waitress",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "2.1.2-1"
    }
  ],
  "distribution_packages": []
}

[Debian bug #1012315]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Source package: [waitress]

    Details (2)
    • 2.1.2-2+deb12u1 · all · bookworm

      Fixed · Fixed: 2.1.2-1

      dsa · waitress · debian · bookworm

    • 2.1.2-2+deb12u1 · all · bookworm

      Fixed · Fixed: 2.1.2-1

      dsa · waitress · debian · bookworm

  • Source package: [waitress]

    Details (2)
    • 2.1.2-2+deb12u1 · all · bookworm

      Fixed · Fixed: 2.1.2-1

      dsa · waitress · debian · bookworm

    • 2.1.2-2+deb12u1 · all · bookworm

      Fixed · Fixed: 2.1.2-1

      dsa · waitress · debian · bookworm

Observed:

References