{
  "threat_severity" : "Moderate",
  "public_date" : "2021-11-18T00:00:00Z",
  "bugzilla" : {
    "description" : "vim: illegal memory access in find_start_brace() in cindent.c when C-indenting",
    "id" : "2028122",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2028122"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.3",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-122",
  "details" : [ "vim is vulnerable to Heap-based Buffer Overflow", "A flaw was found in vim. A possible heap-based buffer overflow allows an attacker to input a specially crafted file, leading to a crash or code execution. The highest threat from this vulnerability is confidentiality, integrity, and system availability." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2022-02-01T00:00:00Z",
    "advisory" : "RHSA-2022:0366",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "vim-2:8.0.1763-16.el8_5.4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2022-02-01T00:00:00Z",
    "advisory" : "RHSA-2022:0366",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "vim-2:8.0.1763-16.el8_5.4"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Advanced Cluster Management for Kubernetes 2",
    "fix_state" : "Not affected",
    "package_name" : "rhacm2/openshift-hive-rhel8",
    "cpe" : "cpe:/a:redhat:acm:2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "vim",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "vim",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "vim",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2021-3984\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-3984" ],
  "name" : "CVE-2021-3984",
  "mitigation" : {
    "value" : "Do not run untrusted vim scripts with -s {scriptin} as it is never safe to do so.",
    "lang" : "en:us"
  },
  "csaw" : false
}