{
  "threat_severity" : "Moderate",
  "public_date" : "2020-05-17T00:00:00Z",
  "bugzilla" : {
    "description" : "sane-backends: null pointer dereference in epsonds_net_read in epsonds-net.c",
    "id" : "1850549",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1850549"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.7",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
    "status" : "draft"
  },
  "cwe" : "CWE-119->CWE-400",
  "details" : [ "A NULL pointer dereference in SANE Backends before 1.0.30 allows a malicious device connected to the same local network as the victim to cause a denial of service, GHSL-2020-079." ],
  "statement" : "The vulnerable code is a part of \"driver for Epson ESC/I-2 scanners\" which was first introduced in sane-backends-1.0.25. (via https://gitlab.com/sane-project/backends/-/commit/d72f4663c0ad6e6f779c15c8baf5f92b675ae19a)  Therefore only versions of sane-backends shipped with Red Hat Enterprise Linux 8 is affected by this flaw.",
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Not affected",
    "package_name" : "sane-backends",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "sane-backends",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "sane-backends",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Affected",
    "package_name" : "sane-backends",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2020-12866\nhttps://nvd.nist.gov/vuln/detail/CVE-2020-12866\nhttps://gitlab.com/sane-project/backends/-/issues/279#issue-2-ghsl-2020-079-null-pointer-dereference-in-epsonds_net_read" ],
  "name" : "CVE-2020-12866",
  "mitigation" : {
    "value" : "This flaw can be mitigated by limiting network scanner discovery to a trusted subnet via the \"net\" configuration in the \"/etc/sane.d/epsonds.conf\" configuration file. Also automatic network scanner discovery can be turned off by commenting out the line \"net autodiscovery\" in the same configuration file.",
    "lang" : "en:us"
  },
  "csaw" : false
}