{
  "threat_severity" : "Low",
  "public_date" : "2022-12-03T00:00:00Z",
  "bugzilla" : {
    "description" : "vim: Heap-based Buffer Overflow prior to 9.0.0742",
    "id" : "2150770",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2150770"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.8",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
    "status" : "draft"
  },
  "cwe" : "CWE-125",
  "details" : [ "Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0742.", "A heap-based buffer overflow flaw was found in Vim's skipwhite() function of the charset.c file. This issue occurs when reading data past the end of the line when compiling a function with errors. This could allows an attacker to trick a user into opening a specially crafted file, triggering an out-of-bounds read that causes an application to crash, leading to a denial of service." ],
  "statement" : "Red Hat Product Security has rated this issue as having a Low security impact, because the \"victim\" has to run an untrusted file in script mode.\nFor additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/ and Red Hat Enterprise Linux Life Cycle & Updates Policy: https://access.redhat.com/support/policy/updates/errata/.",
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "vim",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "vim",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "vim",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "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-2022-3491\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-3491" ],
  "name" : "CVE-2022-3491",
  "mitigation" : {
    "value" : "Untrusted vim scripts with -s [scriptin] are not recommended to run.",
    "lang" : "en:us"
  },
  "csaw" : false
}