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

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.

Classification

CVE ID: CVE-2023-5115

Affected Products

Vendor: Red Hat

Product: Red Hat Ansible Automation Platform 2.3 for RHEL 8

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.11% (probability of being exploited)

EPSS Percentile: 44.3% (scored less or equal to compared to others)

EPSS Date: 2025-02-03 (when was this score calculated)

References

https://access.redhat.com/errata/RHSA-2023:5701
https://access.redhat.com/errata/RHSA-2023:5758
https://access.redhat.com/security/cve/CVE-2023-5115
https://bugzilla.redhat.com/show_bug.cgi?id=2233810

Timeline