Multiple vulnerabilities in OpenShift Container Platform 4.7



Published: 2022-01-19 | Updated: 2022-02-09
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2021-39241
CVE-2021-40346
CWE-ID CWE-20
CWE-444
Exploitation vector Network
Public exploit Public exploit code for vulnerability #2 is available.
Vulnerable software
Subscribe
haproxy (Red Hat package)
Operating systems & Components / Operating system package or component

openshift (Red Hat package)
Operating systems & Components / Operating system package or component

cri-o (Red Hat package)
Operating systems & Components / Operating system package or component

openshift-ansible (Red Hat package)
Operating systems & Components / Operating system package or component

openshift-kuryr (Red Hat package)
Operating systems & Components / Operating system package or component

openshift-clients (Red Hat package)
Operating systems & Components / Operating system package or component

atomic-openshift-service-idler (Red Hat package)
Operating systems & Components / Operating system package or component

Red Hat OpenShift Container Platform
Client/Desktop applications / Software for system administration

Vendor Red Hat Inc.

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Input validation error

EUVDB-ID: #VU55970

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-39241

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to insufficient validation of user-supplied input in HAProxy.  An HTTP method name may contain a space followed by the name of a protected resource. It is possible that a server would interpret this as a request for that protected resource, such as in the "GET /admin? HTTP/1.1 /static/images HTTP/1.1" example.

The attacker can abuse such behavior to bypass implemented security restrictions and perform unauthorized actions against the web application behind the HAProxy.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

haproxy (Red Hat package): 2.0.13-3.el7 - 2.0.16-4.el8

Red Hat OpenShift Container Platform: 4.7.0 - 4.7.40

openshift (Red Hat package): 4.7.0-202103181538.p0.git.97109.7576cdc.el7 - 4.7.0-202111192046.p0.gaa025a0.assembly.stream.el8

cri-o (Red Hat package): 1.20.6-3.rhaos4.7.git4603183.el7 - 1.20.6-3.rhaos4.7.git4603183.el8

openshift-ansible (Red Hat package): 4.7.0-202103181433.p0.git.0.729df27.el7 - 4.7.0-202107292046.p0.git.e1b19c2.assembly.stream.el7

openshift-kuryr (Red Hat package): 4.7.0-202103171728.p0.git.2502.8383c08.el8 - 4.7.0-202107291238.p0.git.c7654fb.assembly.stream.el8

openshift-clients (Red Hat package): 4.7.0-202103191426.p0.git.3953.f3a7513.el7 - 4.7.0-202107292242.p0.git.8b4b094.assembly.stream.el8

atomic-openshift-service-idler (Red Hat package): 4.7.0-202104260636.p0.git.330c6ef.el8 - 4.7.0-202107291238.p0.git.39cfc66.assembly.stream.el8

External links

http://access.redhat.com/errata/RHSA-2022:0114


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Inconsistent interpretation of HTTP requests

EUVDB-ID: #VU56401

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N/E:P/RL:O/RC:C]

CVE-ID: CVE-2021-40346

CWE-ID: CWE-444 - Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to preform HTTP request smuggling attacks.

The vulnerability exists due to improper validation of HTTP/2 requests within the htx_add_header() and htx_add_trailer() functions when processing HTTP header name length encoding in the HTX representation. A remote attacker can send a specially crafted HTTP request to the server and smuggle HTTP headers.

Successful exploitation of vulnerability may allow an attacker to poison HTTP cache and perform phishing attacks.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

haproxy (Red Hat package): 2.0.13-3.el7 - 2.0.16-4.el8

Red Hat OpenShift Container Platform: 4.7.0 - 4.7.40

openshift (Red Hat package): 4.7.0-202103181538.p0.git.97109.7576cdc.el7 - 4.7.0-202111192046.p0.gaa025a0.assembly.stream.el8

cri-o (Red Hat package): 1.20.6-3.rhaos4.7.git4603183.el7 - 1.20.6-3.rhaos4.7.git4603183.el8

openshift-ansible (Red Hat package): 4.7.0-202103181433.p0.git.0.729df27.el7 - 4.7.0-202107292046.p0.git.e1b19c2.assembly.stream.el7

openshift-kuryr (Red Hat package): 4.7.0-202103171728.p0.git.2502.8383c08.el8 - 4.7.0-202107291238.p0.git.c7654fb.assembly.stream.el8

openshift-clients (Red Hat package): 4.7.0-202103191426.p0.git.3953.f3a7513.el7 - 4.7.0-202107292242.p0.git.8b4b094.assembly.stream.el8

atomic-openshift-service-idler (Red Hat package): 4.7.0-202104260636.p0.git.330c6ef.el8 - 4.7.0-202107291238.p0.git.39cfc66.assembly.stream.el8

External links

http://access.redhat.com/errata/RHSA-2022:0114


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###