Vulnerability Details : CVE-2023-5189
A path traversal vulnerability exists in Ansible when extracting tarballs. An attacker could craft a malicious tarball so that when using the galaxy importer of Ansible Automation Hub, a symlink could be dropped on the disk, resulting in files being overwritten.
Vulnerability category: Directory traversal
Products affected by CVE-2023-5189
- cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:ansible_automation_platform:2.0:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-5189
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 45 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-5189
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
2.8
|
3.6
|
NIST | |
6.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N |
2.1
|
4.2
|
Red Hat, Inc. |
CWE ids for CVE-2023-5189
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Secondary)
-
The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory.Assigned by: secalert@redhat.com (Primary)
References for CVE-2023-5189
-
https://access.redhat.com/security/cve/CVE-2023-5189
CVE-2023-5189- Red Hat Customer PortalVendor Advisory
-
https://access.redhat.com/errata/RHSA-2023:7773
RHSA-2023:7773 - Security Advisory - Red Hat Customer Portal
-
https://bugzilla.redhat.com/show_bug.cgi?id=2234387
2234387 – (CVE-2023-5189) CVE-2023-5189 Ansible Automation Hub: insecure galaxy-importer tarfile extractionExploit;Issue Tracking;Vendor Advisory
-
https://access.redhat.com/errata/RHSA-2024:2010
RHSA-2024:2010 - Security Advisory - Red Hat Customer Portal
-
https://access.redhat.com/errata/RHSA-2024:1536
RHSA-2024:1536 - Security Advisory - Red Hat Customer Portal
Jump to