{
  "schema_version": "1.4.0",
  "id": "GHSA-9658-c26v-7qvf",
  "modified": "2021-08-19T16:50:37Z",
  "published": "2021-08-25T20:55:30Z",
  "aliases": [
    "CVE-2021-27377"
  ],
  "summary": "Use-after-free in yottadb",
  "details": "An issue was discovered in the yottadb crate before 1.2.0 for Rust. For some memory-allocation patterns, ydb_subscript_next_st and ydb_subscript_prev_st have a use-after-free.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "crates.io",
        "name": "yottadb"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27377"
    },
    {
      "type": "PACKAGE",
      "url": "https://gitlab.com/YottaDB/Lang/YDBRust"
    },
    {
      "type": "WEB",
      "url": "https://gitlab.com/YottaDB/Lang/YDBRust/-/issues/40"
    },
    {
      "type": "WEB",
      "url": "https://rustsec.org/advisories/RUSTSEC-2021-0022.html"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-416"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T16:50:37Z",
    "nvd_published_at": null
  }
}