{
  "threat_severity" : "Low",
  "public_date" : "2020-05-17T00:00:00Z",
  "bugzilla" : {
    "description" : "sane-backends: Reading uninitialized data in epsonds_net_read in epsonds-net.c",
    "id" : "1850564",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1850564"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.3",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
    "status" : "draft"
  },
  "cwe" : "CWE-200",
  "details" : [ "An out-of-bounds read in SANE Backends before 1.0.30 may allow a malicious device connected to the same local network as the victim to read important information, such as the ASLR offsets of the program, aka GHSL-2020-081." ],
  "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-12864\nhttps://nvd.nist.gov/vuln/detail/CVE-2020-12864\nhttps://gitlab.com/sane-project/backends/-/issues/279#issue-4-ghsl-2020-081-reading-uninitialized-data-in-epsonds_net_read" ],
  "name" : "CVE-2020-12864",
  "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
}