CVE-2023-5115

Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary files

MEDIUM
6.3
CVSS Score
Published: December 18, 2023 at 01:43 PM UTC
Updated: June 17, 2026 at 06:47 AM UTC
5 products affected across 2 vendorsDebian LinuxAnsible Automation PlatformAnsible Developer

Using Red Hat Ansible Automation Platform 2.3 for RHEL 8 by Red Hat?

Get instant alerts when new vulnerabilities affect Red Hat Ansible Automation Platform 2.3 for RHEL 8 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.3
Exploit prediction
EPSS 1%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Vendor states this is fixed in 0:2.14.11-1.el8ap (unaffected)
Vendor states this is fixed in 0:2.14.11-1.el9ap (unaffected)
Vendor states this is fixed in 0:2.15.5-1.el8ap (unaffected)
Vendor states this is fixed in 0:2.15.5-1.el9ap (unaffected)
redhat-enterprise-linux (environment)
redhat-enterprise-linux (environment)
redhat-enterprise-linux (environment)
All versions

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (5)

CVSS

6.3MEDIUMredhat
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-36CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card