Multiple vulnerabilities in Red Hat Ansible Automation Platform



Published: 2021-08-02
Risk High
Patch available YES
Number of vulnerabilities 6
CVE-ID CVE-2020-7789
CVE-2020-15366
CVE-2021-3281
CVE-2021-20270
CVE-2021-23980
CVE-2021-27291
CWE-ID CWE-78
CWE-94
CWE-22
CWE-835
CWE-79
CWE-399
Exploitation vector Network
Public exploit Public exploit code for vulnerability #3 is available.
Vulnerable software
Subscribe
Ansible Automation Platform
Server applications / Other server solutions

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

python-galaxy-ng (Red Hat package)
Operating systems & Components / Operating system package or component

python-galaxy-importer (Red Hat package)
Operating systems & Components / Operating system package or component

python-bleach-allowlist (Red Hat package)
Operating systems & Components / Operating system package or component

python-bleach (Red Hat package)
Operating systems & Components / Operating system package or component

automation-hub (Red Hat package)
Operating systems & Components / Operating system package or component

Vendor Red Hat Inc.

Security Bulletin

This security bulletin contains information about 6 vulnerabilities.

1) OS Command Injection

EUVDB-ID: #VU55499

Risk: High

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

CVE-ID: CVE-2020-7789

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation. A remote unauthenticated attacker can pass specially crafted data to the application and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Ansible Automation Platform: 1.2.2

python-pulp-ansible (Red Hat package): before 0.5.6-1.el8pc

python-galaxy-ng (Red Hat package): before 4.2.2-1.el8pc

python-galaxy-importer (Red Hat package): before 0.2.15-1.el8pc

python-bleach-allowlist (Red Hat package): before 1.0.3-1.el8pc

python-bleach (Red Hat package): before 3.3.0-1.el8pc

automation-hub (Red Hat package): before 4.2.2-1.el8pc

External links

http://access.redhat.com/errata/RHSA-2021:0781


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) Prototype pollution

EUVDB-ID: #VU55498

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-2020-15366

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to insufficient sanitization of user-supplied data. A remote attacker can inject and execute arbitrary script code.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Ansible Automation Platform: 1.2.2

python-pulp-ansible (Red Hat package): before 0.5.6-1.el8pc

python-galaxy-ng (Red Hat package): before 4.2.2-1.el8pc

python-galaxy-importer (Red Hat package): before 0.2.15-1.el8pc

python-bleach-allowlist (Red Hat package): before 1.0.3-1.el8pc

python-bleach (Red Hat package): before 3.3.0-1.el8pc

automation-hub (Red Hat package): before 4.2.2-1.el8pc

External links

http://access.redhat.com/errata/RHSA-2021:0781


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.

3) Path traversal

EUVDB-ID: #VU50172

Risk: High

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

CVE-ID: CVE-2021-3281

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences inside archives with "django.utils.archive.extract()" function. A remote attacker can pass specially crafted archive to the application and write files to arbitrary directory on the system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Ansible Automation Platform: 1.2.2

python-pulp-ansible (Red Hat package): before 0.5.6-1.el8pc

python-galaxy-ng (Red Hat package): before 4.2.2-1.el8pc

python-galaxy-importer (Red Hat package): before 0.2.15-1.el8pc

python-bleach-allowlist (Red Hat package): before 1.0.3-1.el8pc

python-bleach (Red Hat package): before 3.3.0-1.el8pc

automation-hub (Red Hat package): before 4.2.2-1.el8pc

External links

http://access.redhat.com/errata/RHSA-2021:0781


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.

4) Infinite loop

EUVDB-ID: #VU51449

Risk: Low

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

CVE-ID: CVE-2021-20270

CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop. A remote attacker can consume all available system resources and cause denial of service conditions.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Ansible Automation Platform: 1.2.2

python-pulp-ansible (Red Hat package): before 0.5.6-1.el8pc

python-galaxy-ng (Red Hat package): before 4.2.2-1.el8pc

python-galaxy-importer (Red Hat package): before 0.2.15-1.el8pc

python-bleach-allowlist (Red Hat package): before 1.0.3-1.el8pc

python-bleach (Red Hat package): before 3.3.0-1.el8pc

automation-hub (Red Hat package): before 4.2.2-1.el8pc

External links

http://access.redhat.com/errata/RHSA-2021:0781


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.

5) Cross-site scripting

EUVDB-ID: #VU55500

Risk: Medium

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

CVE-ID: CVE-2021-23980

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Ansible Automation Platform: 1.2.2

python-pulp-ansible (Red Hat package): before 0.5.6-1.el8pc

python-galaxy-ng (Red Hat package): before 4.2.2-1.el8pc

python-galaxy-importer (Red Hat package): before 0.2.15-1.el8pc

python-bleach-allowlist (Red Hat package): before 1.0.3-1.el8pc

python-bleach (Red Hat package): before 3.3.0-1.el8pc

automation-hub (Red Hat package): before 4.2.2-1.el8pc

External links

http://access.redhat.com/errata/RHSA-2021:0781


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.

6) Resource management error

EUVDB-ID: #VU51776

Risk: Medium

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

CVE-ID: CVE-2021-27291

CWE-ID: CWE-399 - Resource Management Errors

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (ReDoS) attack.

The vulnerability exists due to improper management of internal resources within the application. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDoS) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Ansible Automation Platform: 1.2.2

python-pulp-ansible (Red Hat package): before 0.5.6-1.el8pc

python-galaxy-ng (Red Hat package): before 4.2.2-1.el8pc

python-galaxy-importer (Red Hat package): before 0.2.15-1.el8pc

python-bleach-allowlist (Red Hat package): before 1.0.3-1.el8pc

python-bleach (Red Hat package): before 3.3.0-1.el8pc

automation-hub (Red Hat package): before 4.2.2-1.el8pc

External links

http://access.redhat.com/errata/RHSA-2021:0781


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.



###SIDEBAR###