Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-35904

An issue was discovered in the crossbeam-channel crate before 0.4.4 for Rust. It has incorrect expectations about the relationship between the memory allocation and how many iterator elements there are.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-15254, CVE-2020-35904
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:43 UTC · Revision 1

Source evidence

CVE-2020-35904

core-osv · Original source

Published 31 Dec 2020, 09:15 UTC

An issue was discovered in the crossbeam-channel crate before 0.4.4 for Rust. It has incorrect expectations about the relationship between the memory allocation and how many iterator elements there are.

osv:CVE-2020-35904
Complete source record
{
  "id": "c03542087973b70cd9763e1ab5abb258bb66890b6e003a0ea5c3d1d03891b2ad",
  "url": "https://osv.dev/vulnerability/CVE-2020-35904",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-35904",
    "summary": "An issue was discovered in the crossbeam-channel crate before 0.4.4 for Rust. It has incorrect expectations about the relationship between the memory allocation and how many iterator elements there are.",
    "evidence": "osv:CVE-2020-35904",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-35904",
      "aliases": [
        "CVE-2020-15254",
        "CVE-2020-35904",
        "GHSA-m8h8-v6jh-c762",
        "GHSA-v5m7-53cv-f3hx",
        "RUSTSEC-2020-0052"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/crossbeam-rs/crossbeam",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "48b13dc43cf19e0544d03d16f4b3da3d8b23f076"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:crossbeam-channel_project:crossbeam-channel:*:*:*:*:*:rust:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.4.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "crossbeam-queue-0.2.3",
            "crossbeam-utils-0.7.2",
            "crossbeam-epoch-0.8.2",
            "crossbeam-channel-0.4.2",
            "crossbeam-queue-0.2.1",
            "crossbeam-utils-0.7.0",
            "crossbeam-queue-0.2.0",
            "crossbeam-epoch-0.8.0",
            "crossbeam-deque-0.7.2",
            "crossbeam-channel-0.4.0",
            "crossbeam-0.7.3",
            "crossbeam-0.7.2",
            "crossbeam-channel-0.3.9",
            "crossbeam-epoch-0.7.2",
            "crossbeam-utils-0.6.6",
            "crossbeam-queue-0.1.2",
            "crossbeam-deque-0.7.1",
            "crossbeam-channel-0.3.8",
            "crossbeam-queue-0.1.1",
            "crossbeam-utils-0.6.5",
            "crossbeam-0.7.1",
            "crossbeam-utils-0.6.4",
            "crossbeam-queue-0.1.0",
            "crossbeam-epoch-0.7.1",
            "crossbeam-deque-0.7.0",
            "crossbeam-channel-0.3.7",
            "crossbeam-0.7.0",
            "crossbeam-channel-0.3.6",
            "crossbeam-channel-0.3.5",
            "crossbeam-epoch-0.7.0",
            "crossbeam-deque-0.6.3",
            "crossbeam-channel-0.3.4",
            "crossbeam-0.6.0",
            "crossbeam-utils-0.6.3",
            "crossbeam-channel-0.3.3",
            "crossbeam-utils-0.6.2",
            "crossbeam-channel-0.3.2",
            "crossbeam-utils-0.6.1",
            "crossbeam-0.5.0",
            "crossbeam-utils-0.6.0",
            "crossbeam-epoch-0.6.1",
            "crossbeam-deque-0.6.2",
            "crossbeam-channel-0.3.1",
            "v0.4.1",
            "v0.4.0",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "0.2.10"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35904.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:43.596841710Z",
      "provider": "osv",
      "references": [
        "https://rustsec.org/advisories/RUSTSEC-2020-0052.html"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-15254",
        "evidence": "/aliases"
      },
      {
        "value": "CVE-2020-35904",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 435654,
  "published_at": "2020-12-31T09:15:15.067+00:00"
}