{
  "threat_severity" : "Low",
  "public_date" : "2020-03-13T00:00:00Z",
  "bugzilla" : {
    "description" : "openshift-ansible: cors allowed origin allows changing url protocol",
    "id" : "1802381",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1802381"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.9",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N",
    "status" : "verified"
  },
  "cwe" : "CWE-185",
  "details" : [ "A flaw was found in openshift-ansible. OpenShift Container Platform (OCP) 3.11 is too permissive in the way it specified CORS allowed origins during installation. An attacker, able to man-in-the-middle the connection between the user's browser and the openshift console, could use this flaw to perform a phishing attack. The main threat from this vulnerability is data confidentiality.", "A flaw was found in openshift-ansible. OpenShift Container Platform (OCP) 3.11 is too permissive in the way it specified CORS allowed origins during installation. An attacker, able to man-in-the-middle the connection between the user's browser and the openshift console, could use this flaw to perform a phishing attack. The main threat from this vulnerability is data confidentiality." ],
  "affected_release" : [ {
    "product_name" : "Red Hat OpenShift Container Platform 3.11",
    "release_date" : "2020-08-27T00:00:00Z",
    "advisory" : "RHSA-2020:3541",
    "cpe" : "cpe:/a:redhat:openshift:3.11::el7",
    "package" : "openshift-ansible-0:3.11.272-1.git.0.79ab6e9.el7"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat OpenShift Container Platform 4",
    "fix_state" : "Not affected",
    "package_name" : "openshift4/ose-hypershift",
    "cpe" : "cpe:/a:redhat:openshift:4"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2020-1741\nhttps://nvd.nist.gov/vuln/detail/CVE-2020-1741" ],
  "name" : "CVE-2020-1741",
  "mitigation" : {
    "value" : "Ensure that the corsAllowedOrigin definition within master-config.yaml contains elements in the form \n~~~\ncorsAllowedOrigins:\n- ^(?i)https://my\\.subdomain\\.domain\\.com(:|\\z)\n~~~\nand not the form\n~~~\ncorsAllowedOrigins:\n- (?i)//my\\.subdomain\\.domain\\.com(:|\\z)\n~~~\nas the first will permit cross origin requests only if the host and protocol matches, whereas the second will permit a downgrade to http protocol for example.",
    "lang" : "en:us"
  },
  "csaw" : false
}