{
  "schema_version": "1.4.0",
  "id": "GHSA-hfxp-p695-629x",
  "modified": "2023-06-13T16:02:38Z",
  "published": "2022-06-16T23:24:29Z",
  "aliases": [],
  "summary": "abomonation transmutes &T to and from &[u8] without sufficient constraints",
  "details": "This transmute is at the core of the abomonation crates. It's so easy to use it to violate alignment requirements that no test in the crate's test suite passes under miri.\n\nThe use of this transmute in serialization/deserialization also incorrectly assumes that the layout of a repr(Rust) type is stable.\nThis transmute can also disclose both the contents of padding bytes which may be an information leak and the contents of pointers, which may be used to defeat ASLR.\n",
  "severity": [],
  "affected": [
    {
      "package": {
        "ecosystem": "crates.io",
        "name": "abomonation"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0.7.3"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/TimelyDataflow/abomonation/issues/23"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/TimelyDataflow/abomonation"
    },
    {
      "type": "WEB",
      "url": "https://rustsec.org/advisories/RUSTSEC-2021-0120.html"
    }
  ],
  "database_specific": {
    "cwe_ids": [],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-16T23:24:29Z",
    "nvd_published_at": null
  }
}