{
  "threat_severity" : "Moderate",
  "public_date" : "2021-10-07T00:00:00Z",
  "bugzilla" : {
    "description" : "vim: heap-based buffer overflow in win_redr_status() in drawscreen.c",
    "id" : "2016056",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2016056"
  },
  "cvss3" : {
    "cvss3_base_score" : "6.6",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-787",
  "details" : [ "vim is vulnerable to Heap-based Buffer Overflow", "An out-of-bounds write flaw was found in vim's drawscreen.c win_redr_status() function. This flaw allows an attacker to trick a user to open a crafted file with specific arguments in vim, triggering an out-of-bounds write. The highest threat from this vulnerability is to confidentiality, integrity, and system availability." ],
  "statement" : "This flaw is out of support scope for vim as shipped in Red Hat Enterprise Linux 6 and 7. For more comprehensive information about Red Hat Enterprise Linux support scope, please see https://access.redhat.com/support/policy/updates/errata/",
  "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",
    "impact" : "low"
  }, {
    "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-3872\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-3872" ],
  "name" : "CVE-2021-3872",
  "mitigation" : {
    "value" : "Since this flaw requires user interaction, mitigation is to not open files from untrusted sources using vim.",
    "lang" : "en:us"
  },
  "csaw" : false
}