Vulnerability Details : CVE-2023-5115
An absolute path traversal attack exists in the Ansible automation platform. This flaw allows an attacker to craft a malicious Ansible role and make the victim execute the role. A symlink can be used to overwrite a file outside of the extraction path.
Vulnerability category: Directory traversal
Products affected by CVE-2023-5115
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:ansible_automation_platform:1.2:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:ansible_automation_platform:2.3:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:ansible_automation_platform:2.4:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:ansible_developer:1.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:ansible_developer:1.1:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:ansible_inside:1.1:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:ansible_inside:1.2:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-5115
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 44 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-5115
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
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
|
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-5115
-
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 absolute path sequences such as "/abs/path" that can resolve to a location that is outside of that directory.Assigned by: secalert@redhat.com (Primary)
References for CVE-2023-5115
-
https://access.redhat.com/errata/RHSA-2023:5758
RHSA-2023:5758 - Security Advisory - Red Hat Customer PortalVendor Advisory
-
https://access.redhat.com/errata/RHSA-2023:5701
RHSA-2023:5701 - Security Advisory - Red Hat Customer PortalVendor Advisory
-
https://access.redhat.com/security/cve/CVE-2023-5115
CVE-2023-5115- Red Hat Customer PortalVendor Advisory
-
https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html
[SECURITY] [DLA 3695-1] ansible security update
-
https://bugzilla.redhat.com/show_bug.cgi?id=2233810
2233810 – (CVE-2023-5115) CVE-2023-5115 TRIAGE Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary filesIssue Tracking
Jump to