Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-45697

An issue was discovered in the molecule crate before 0.7.2 for Rust. A FixVec partial read has an incorrect result.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-45697
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:40 UTC · Revision 1

Source evidence

CVE-2021-45697

core-osv · Original source

Published 27 Dec 2021, 00:15 UTC

An issue was discovered in the molecule crate before 0.7.2 for Rust. A FixVec partial read has an incorrect result.

osv:CVE-2021-45697
Complete source record
{
  "id": "7fd7319915092465b013a8e8fb526ecfb48df9de45ac51518bd90efe53f4fa97",
  "url": "https://osv.dev/vulnerability/CVE-2021-45697",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-45697",
    "summary": "An issue was discovered in the molecule crate before 0.7.2 for Rust. A FixVec partial read has an incorrect result.",
    "evidence": "osv:CVE-2021-45697",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-45697",
      "aliases": [
        "CVE-2021-45697",
        "GHSA-6p3c-v8vc-c244",
        "GHSA-82hm-vh7g-hrh9",
        "RUSTSEC-2021-0103"
      ],
      "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": [
            {
              "repo": "https://github.com/nervosnetwork/molecule",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5b4b4816e8c00285be798d0a17c4324ce8145009"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nervos:molecule:*:*:*:*:*:rust:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.7.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.7.1",
            "v0.7.0",
            "v0.6.1",
            "v0.6.0",
            "v0.5.0",
            "v0.4.0",
            "v0.3.1",
            "v0.3.0",
            "v0.2.5",
            "v0.2.4",
            "v0.2.3",
            "v0.2.1",
            "v0.2.2",
            "v0.2.0",
            "v0.1.0",
            "v0.0.5",
            "v0.0.4",
            "v0.0.3",
            "v0.0.2",
            "v0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45697.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:21.562914350Z",
      "provider": "osv",
      "references": [
        "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/molecule/RUSTSEC-2021-0103.md",
        "https://rustsec.org/advisories/RUSTSEC-2021-0103.html"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-45697",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430510,
  "published_at": "2021-12-27T00:15:09.54+00:00"
}