{
  "schema_version": "1.4.0",
  "id": "GHSA-52xx-r3g2-p8jm",
  "modified": "2022-09-20T22:07:20Z",
  "published": "2022-09-14T00:00:42Z",
  "aliases": [
    "CVE-2022-38306"
  ],
  "summary": "LIEF vulnerable to heap based buffer overflow",
  "details": "LIEF commit 5d1d643 was discovered to contain a heap-buffer overflow in the component `/core/CorePrPsInfo.tcc`. Commit 53bf680ef494a835e2c4a5de328ca85416a03a5a contains a patch.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "lief"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0.12.1"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-38306"
    },
    {
      "type": "WEB",
      "url": "https://github.com/lief-project/LIEF/issues/763"
    },
    {
      "type": "WEB",
      "url": "https://github.com/lief-project/LIEF/commit/53bf680ef494a835e2c4a5de328ca85416a03a5a"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/lief-project/LIEF"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-274.yaml"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-787"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-09-20T22:05:46Z",
    "nvd_published_at": "2022-09-13T21:15:00Z"
  }
}