CVE-2019-10156
published medium CVSS 3.0 · 4.6ansible: unsafe template evaluation of returned module data can lead to information disclosure
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | ansiblefixed in 2.6.18 · fixed in 2.7.12 · fixed in 2.8.2 | Affected | Not stated | redhat |
| Alpine Linux | v3.10 | ansible | Fixed | 2.8.2-r0 | Package fix record |
| Debian | buster | ansible | Advisory build | 2.7.7+dfsg-1+deb10u1 | DSA-4950-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ansiblenoarch | Advisory build | 2.9.21-bp153.2.3.1 | OPENSUSE-SU-2022:0081-1 |
| Ubuntu | bionic | ansible | Advisory build | 2.5.1+dfsg-1ubuntu0.1 | USN-4072-1 |
| Alpine Linux | v3.11 | ansible | Fixed | 2.8.2-r0 | Package fix record |
| Alpine Linux | v3.12 | ansible | Fixed | 2.8.2-r0 | Package fix record |
| Alpine Linux | v3.8 | ansible | Fixed | 2.6.18-r0 | Package fix record |
Show 43 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | jessie | ansible | Advisory build | 1.7.2+dfsg-2+deb8u2 | DLA-1923-1 |
| Debian | stretch | ansible | Advisory build | 2.2.1.0-2+deb9u2 | DLA-2535-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansibleaarch64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansibleppc64le | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansibles390x | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansiblex86_64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| Alpine Linux | v3.13 | ansible-base | Fixed | 2.8.2-r0 | Package fix record |
| Alpine Linux | v3.14 | ansible-base | Fixed | 2.8.2-r0 | Package fix record |
| Alpine Linux | v3.15 | ansible-base | Fixed | 2.8.2-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ansible-docnoarch | Advisory build | 2.9.21-bp153.2.3.1 | OPENSUSE-SU-2022:0081-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ansible-testnoarch | Advisory build | 2.9.21-bp153.2.3.1 | OPENSUSE-SU-2022:0081-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-10aarch64 | Advisory build | 10.6.0-1.1 | OPENSUSE-SU-2024:14536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-10ppc64le | Advisory build | 10.6.0-1.1 | OPENSUSE-SU-2024:14536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-10s390x | Advisory build | 10.6.0-1.1 | OPENSUSE-SU-2024:14536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-10x86_64 | Advisory build | 10.6.0-1.1 | OPENSUSE-SU-2024:14536-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-11aarch64 | Advisory build | 11.11.0-1.1 | OPENSUSE-SU-2025:15605-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-11ppc64le | Advisory build | 11.11.0-1.1 | OPENSUSE-SU-2025:15605-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-11s390x | Advisory build | 11.11.0-1.1 | OPENSUSE-SU-2025:15605-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-11x86_64 | Advisory build | 11.11.0-1.1 | OPENSUSE-SU-2025:15605-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-12aarch64 | Advisory build | 12.2.0-1.1 | OPENSUSE-SU-2025:15753-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-12ppc64le | Advisory build | 12.2.0-1.1 | OPENSUSE-SU-2025:15753-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-12s390x | Advisory build | 12.2.0-1.1 | OPENSUSE-SU-2025:15753-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-12x86_64 | Advisory build | 12.2.0-1.1 | OPENSUSE-SU-2025:15753-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-13aarch64 | Advisory build | 13.7.0-1.1 | OPENSUSE-SU-2026:10944-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-13ppc64le | Advisory build | 13.7.0-1.1 | OPENSUSE-SU-2026:10944-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-13s390x | Advisory build | 13.7.0-1.1 | OPENSUSE-SU-2026:10944-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-13x86_64 | Advisory build | 13.7.0-1.1 | OPENSUSE-SU-2026:10944-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-14aarch64 | Advisory build | 14.6.0-1.1 | OPENSUSE-SU-2026:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-14ppc64le | Advisory build | 14.6.0-1.1 | OPENSUSE-SU-2026:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-14s390x | Advisory build | 14.6.0-1.1 | OPENSUSE-SU-2026:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-14x86_64 | Advisory build | 14.6.0-1.1 | OPENSUSE-SU-2026:12447-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-9aarch64 | Advisory build | 9.8.0-1.1 | OPENSUSE-SU-2024:14244-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-9ppc64le | Advisory build | 9.8.0-1.1 | OPENSUSE-SU-2024:14244-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-9s390x | Advisory build | 9.8.0-1.1 | OPENSUSE-SU-2024:14244-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-9x86_64 | Advisory build | 9.8.0-1.1 | OPENSUSE-SU-2024:14244-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-docaarch64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-docppc64le | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-docs390x | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-docx86_64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-testaarch64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-testppc64le | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-tests390x | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ansible-testx86_64 | Advisory build | 2.9.24-1.2 | OPENSUSE-SU-2024:10615-1 |
Description
A flaw was discovered in the way Ansible templating was implemented in versions before 2.6.18, 2.7.12 and 2.8.2, causing the possibility of information disclosure through unexpected variable substitution. By taking advantage of unintended variable substitution the content of any variable may be disclosed.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 4.6 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | ansible | fixed in 2.6.18 (affected)fixed in 2.7.12 (affected)fixed in 2.8.2 (affected) | redhat · cna |
Weaknesses
1- CWE-200
References
7- RHSA-2019:3744 https://access.redhat.com/errata/RHSA-2019:3744
- RHSA-2019:3789 https://access.redhat.com/errata/RHSA-2019:3789
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10156
- https://github.com/ansible/ansible/pull/57188
- [debian-lts-announce] 20190916 [SECURITY] [DLA 1923-1] ansible security update https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html
- [debian-lts-announce] 20210127 [SECURITY] [DLA 2535-1] ansible security update https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html
- DSA-4950 https://www.debian.org/security/2021/dsa-4950
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4ae608eb717dcd801eb6c6481bf9d254f0c6af2752c89a003004a31287b59aac
- Ingested
- 23 Sep 2026, 07:45:30 UTC
- Source record
- Official CVE record