Skip to content
Heist/ feed
Back to feed
CriticalFix available

rust-crossbeam-deque — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-32810

crossbeam-deque is a package of work-stealing deques for building task schedulers when programming in Rust. In versions prior to 0.7.4 and 0.8.0, the result of the race condition is that one or more tasks in the worker queue can be popped twice instead of other tasks that are forgotten and never popped. If tasks are allocated on the heap, this can cause double free and a memory leak. If not, this still can cause a logical bug. Crates using `Stealer::steal`, `Stealer::steal_batch`, or `Stealer::steal_batch_and_pop` are affected by this issue. This has been fixed in crossbeam-deque 0.8.1 and 0.7.4.

Products
rust-crossbeam-deque
Affected versions
Not specified
Fixed versions
0.7.4-1
CVEs
CVE-2021-32810
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:58 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-32810

core-osv · Original source

Published 2 Aug 2021, 19:15 UTC

crossbeam-deque is a package of work-stealing deques for building task schedulers when programming in Rust. In versions prior to 0.7.4 and 0.8.0, the result of the race condition is that one or more tasks in the worker queue can be popped twice instead of other tasks that are forgotten and never popped. If tasks are allocated on the heap, this can cause double free and a memory leak. If not, this still can cause a logical bug. Crates using `Stealer::steal`, `Stealer::steal_batch`, or `Stealer::steal_batch_and_pop` are affected by this issue. This has been fixed in crossbeam-deque 0.8.1 and 0.7.4.

osv:DEBIAN-CVE-2021-32810

rust-crossbeam-deque

Fixed versions: 0.7.4-1

rust-crossbeam-deque

Fixed versions: 0.7.4-1

rust-crossbeam-deque

Fixed versions: 0.7.4-1

Complete source record
{
  "id": "9f01aba0e6e498d679ada3523a4d261784df26f6bc09b22a783ca1f21658e107",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-32810",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-32810",
    "summary": "crossbeam-deque is a package of work-stealing deques for building task schedulers when programming in Rust. In versions prior to 0.7.4 and 0.8.0, the result of the race condition is that one or more tasks in the worker queue can be popped twice instead of other tasks that are forgotten and never popped. If tasks are allocated on the heap, this can cause double free and a memory leak. If not, this still can cause a logical bug. Crates using `Stealer::steal`, `Stealer::steal_batch`, or `Stealer::steal_batch_and_pop` are affected by this issue. This has been fixed in crossbeam-deque 0.8.1 and 0.7.4.",
    "evidence": "osv:DEBIAN-CVE-2021-32810",
    "products": [
      {
        "name": {
          "value": "rust-crossbeam-deque",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.7.4-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "rust-crossbeam-deque",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.7.4-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "rust-crossbeam-deque",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.7.4-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2021-32810",
      "aliases": [
        "DEBIAN-CVE-2021-32810"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.7.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-crossbeam-deque",
            "purl": "pkg:deb/debian/rust-crossbeam-deque?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-32810.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.7.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-crossbeam-deque",
            "purl": "pkg:deb/debian/rust-crossbeam-deque?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-32810.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.7.4-1"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-crossbeam-deque",
            "purl": "pkg:deb/debian/rust-crossbeam-deque?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-32810.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:59.523850151Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-32810"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-32810"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-32810",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 422871,
  "published_at": "2021-08-02T19:15:08.28+00:00"
}