XML External Entity injection in Mercurial - CVE-2020-2305
Published: November 4, 2020 / Updated: November 9, 2020
Vulnerability details
The vulnerability allows a remote attacker to gain access to sensitive information.
The vulnerability exists due to insufficient validation of user-supplied XML input. A remote authenticated attacker can pass a specially crafted XML code to the affected application and view contents of arbitrary files on the system or initiate requests to external systems.
Successful exploitation of the vulnerability may allow an attacker to view contents of arbitrary file on the server or perform network scanning of internal and external infrastructure.
Affected software
Red Hat OpenShift Container Platform
openshift (Red Hat package)
openshift-kuryr (Red Hat package)
jenkins-2-plugins (Red Hat package)
How to mitigate CVE-2020-2305
Red Hat OpenShift Container Platform - update to 4.4.33
openshift (Red Hat package) - addressed in versions 4.4.0-202101221150.p0.git.0.f7ab6b8.el7, 4.4.0-202101221150.p0.git.0.f7ab6b8.el8
openshift-kuryr (Red Hat package) - update to 4.4.0-202101082241.p0.git.1821.1a159eb.el8
jenkins-2-plugins (Red Hat package) - update to 4.4.1611203637-1.el7