Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-36464

An issue was discovered in the heapless crate before 0.6.1 for Rust. The IntoIter Clone implementation clones an entire underlying Vec without considering whether it has already been partially consumed.

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

Source evidence

CVE-2020-36464

core-osv · Original source

Published 8 Aug 2021, 06:15 UTC

An issue was discovered in the heapless crate before 0.6.1 for Rust. The IntoIter Clone implementation clones an entire underlying Vec without considering whether it has already been partially consumed.

osv:CVE-2020-36464
Complete source record
{
  "id": "0a4a63121576f2c99324319578cffdf05664ad5c36703f7f0aabd4080fd4a37d",
  "url": "https://osv.dev/vulnerability/CVE-2020-36464",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-36464",
    "summary": "An issue was discovered in the heapless crate before 0.6.1 for Rust. The IntoIter Clone implementation clones an entire underlying Vec without considering whether it has already been partially consumed.",
    "evidence": "osv:CVE-2020-36464",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-36464",
      "aliases": [
        "CVE-2020-36464",
        "GHSA-qgwf-r2jj-2ccv",
        "RUSTSEC-2020-0145"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rust-embedded/heapless",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "96f38a6f738d62d59c881eb4e50aa506d9bfdb85"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:heapless_project:heapless:*:*:*:*:*:rust:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.6.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.6.0",
            "v0.5.6",
            "v0.5.5",
            "v0.5.4",
            "v0.5.3",
            "v0.5.2",
            "v0.5.1",
            "v0.5.0",
            "v0.4.4",
            "v0.4.3",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0",
            "v0.3.7",
            "v0.3.6",
            "v0.3.5",
            "v0.3.4",
            "v0.3.3",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "v0.2.7",
            "v0.2.6",
            "v0.2.5",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-36464.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:45.862027453Z",
      "provider": "osv",
      "references": [
        "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/heapless/RUSTSEC-2020-0145.md",
        "https://rustsec.org/advisories/RUSTSEC-2020-0145.html"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-36464",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 436220,
  "published_at": "2021-08-08T06:15:08.08+00:00"
}