Name | CVE-2023-5115 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3695-1 |
Debian Bugs | 1053693 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
ansible (PTS) | jessie, jessie (lts) | 1.7.2+dfsg-2+deb8u3 | vulnerable |
| stretch (security), stretch (lts), stretch | 2.2.1.0-2+deb9u3 | vulnerable |
| buster (security), buster, buster (lts) | 2.7.7+dfsg-1+deb10u2 | fixed |
| bullseye | 2.10.7+merged+base+2.10.17+dfsg-0+deb11u1 | fixed |
| bullseye (security) | 2.10.7+merged+base+2.10.17+dfsg-0+deb11u2 | fixed |
| bookworm | 7.7.0+dfsg-3+deb12u1 | fixed |
| sid, trixie | 11.1.0+dfsg-1 | fixed |
ansible-core (PTS) | bookworm | 2.14.16-0+deb12u1 | fixed |
| trixie | 2.17.5-5 | fixed |
| sid | 2.18.1-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bullseye] - ansible-core <no-dsa> (Minor issue)
https://bugzilla.redhat.com/show_bug.cgi?id=2233810
https://github.com/ansible/ansible/pull/81780
https://github.com/ansible/ansible/commit/ddf0311c63287e2d5334770377350c1e0cbfff28
ansible-core was split off from src:ansible with 4.6.0-1 in experimental/5.4.0-1 in sid