cve.bz

CVE-2020-1741 redhat openshift container platform: Incorrect Regular Expression

5.9 mediumEPSS 0.9%

Medium (5.9) in redhat openshift container platform. EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-185 Incorrect Regular Expression
CWE-697 Incorrect Comparison
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-1741 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-1741?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-1741?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-1741 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:openshift_container_platform3.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatopenshift:3.11::el7jenkins0:2.235.2.1597220898-1.el7RHSA-2020:3541
Red Hatopenshift:3.11::el7jenkins-2-plugins0:3.11.1597310986-1.el7RHSA-2020:3541
Red Hatopenshift:3.11::el7openshift-ansible, openshift-ansible-docs, openshift-ansible-test and 2 more0:3.11.272-1.git.0.79ab6e9.el7RHSA-2020:3541
Red Hatopenshift:3.11::el7python-rsa, python2-rsa0:4.5-2.el7RHSA-2020:3541

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Ensure that the corsAllowedOrigin definition within master-config.yaml contains elements in the form

~~~

corsAllowedOrigins:

- ^(?i)https://my\.subdomain\.domain\.com(:|\z)

~~~

and not the form

~~~

corsAllowedOrigins:

- (?i)//my\.subdomain\.domain\.com(:|\z)

~~~

as 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.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 3.11openshift-ansible-0:3.11.272-1.git.0.79ab6e9.el7Fixed 2020-08-27RHSA-2020:3541
Red Hat OpenShift Container Platform 4openshift4/ose-hypershiftNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-1741.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-697 (29).

References

Check your stackJSON