Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ansible
  4. ›
  5. CVE-2023-5115

CVE-2023-5115: Ansible symlink attack vulnerability

December 28, 2023 (updated December 6, 2024)

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.

References

  • access.redhat.com/errata/RHSA-2023:5701
  • access.redhat.com/errata/RHSA-2023:5758
  • access.redhat.com/security/cve/CVE-2023-5115
  • bugzilla.redhat.com/show_bug.cgi?id=2233810
  • github.com/advisories/GHSA-jpvw-p8pr-9g2x
  • github.com/ansible-community/ansible-build-data/blob/16d36538b96c65d9e0e28d89781361b69857ac0e/8/CHANGELOG-v8.rst
  • github.com/ansible/ansible
  • github.com/ansible/ansible/commit/1e930684bc0a76ec3d094cd326738ad26416541c
  • lists.debian.org/debian-lts-announce/2023/12/msg00018.html
  • nvd.nist.gov/vuln/detail/CVE-2023-5115

Code Behaviors & Features

Detect and mitigate CVE-2023-5115 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 8.5.0

Fixed versions

  • 8.5.0

Solution

Upgrade to version 8.5.0 or above.

Impact 6.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N

Learn more about CVSS

Weakness

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

Source file

pypi/ansible/CVE-2023-5115.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:29 +0000.