{
  "schema_version": "1.4.0",
  "id": "GHSA-r23c-h6ff-98mj",
  "modified": "2022-08-23T00:00:16Z",
  "published": "2022-08-20T00:00:30Z",
  "aliases": [
    "CVE-2020-27795"
  ],
  "details": "A segmentation fault was discovered in radare2 with adf command. In libr/core/cmd_anal.c, when command \"adf\" has no or wrong argument, anal_fcn_data (core, input + 1) --> RAnalFunction *fcn = r_anal_get_fcn_in (core->anal, core->offset, -1); returns null pointer for fcn causing segmentation fault later in ensure_fcn_range (fcn).",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
    }
  ],
  "affected": [],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-27795"
    },
    {
      "type": "WEB",
      "url": "https://github.com/radareorg/radare2/issues/16215"
    },
    {
      "type": "WEB",
      "url": "https://github.com/radareorg/radare2/pull/16230"
    },
    {
      "type": "WEB",
      "url": "https://github.com/radareorg/radare2/commit/4d3811681a80f92a53e795f6a64c4b0fc2c8dd22"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-908"
    ],
    "severity": "HIGH",
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2022-08-19T23:15:00Z"
  }
}