{
  "threat_severity" : "Moderate",
  "public_date" : "2020-06-19T00:00:00Z",
  "bugzilla" : {
    "description" : "python-rtslib: weak permissions for /etc/target/saveconfig.json",
    "id" : "1854723",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1854723"
  },
  "cvss3" : {
    "cvss3_base_score" : "6.6",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L",
    "status" : "verified"
  },
  "cwe" : "CWE-282",
  "details" : [ "Open-iSCSI rtslib-fb through 2.1.72 has weak permissions for /etc/target/saveconfig.json because shutil.copyfile (instead of shutil.copy) is used, and thus permissions are not preserved.", "A flaw was found in Open-iSCSI rtslib-fb through versions 2.1.72, where it has weak permissions for /etc/target/saveconfig.json because the shutil.copyfile, instead of shutil.copy is used, and permissions are not preserved upon editing. This flaw allows an attacker with prior access to /etc/target/saveconfig.json to access a later version, resulting in a loss of integrity, depending on their permission settings. The highest threat from this vulnerability is to confidentiality." ],
  "statement" : "Red Hat Ceph Storage 2 and 3 are not affected because within the affected method, shutil.copyfile is not used. However, the affected method, save_to_file is outdated and contains a race condition. Hence, this issue has been rated as having a security impact of low.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2020-12-15T00:00:00Z",
    "advisory" : "RHSA-2020:5435",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "python-rtslib-0:2.1.74-1.el7_9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2020-11-04T00:00:00Z",
    "advisory" : "RHEA-2020:4505",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "python-rtslib-0:2.1.73-2.el8"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Ceph Storage 2",
    "fix_state" : "Out of support scope",
    "package_name" : "python-rtslib",
    "cpe" : "cpe:/a:redhat:ceph_storage:2"
  }, {
    "product_name" : "Red Hat Ceph Storage 3",
    "fix_state" : "Affected",
    "package_name" : "python-rtslib",
    "cpe" : "cpe:/a:redhat:ceph_storage:3",
    "impact" : "low"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "python-rtslib",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2020-14019\nhttps://nvd.nist.gov/vuln/detail/CVE-2020-14019" ],
  "name" : "CVE-2020-14019",
  "csaw" : false
}