CVE-2017-7481Redhat Openshift Container Platform
Critical 9.8 No auth needed
Follow: this CVE · Redhat · Redhat Openshift Container Platform We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.6% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- Jul 19, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Ansible before versions 2.3.1.0 and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of lookup() calls, they could inject Unicode strings to be parsed by the jinja2 templating system, resulting in code execution. By default, the jinja2 templating language is now marked as 'unsafe' and is not evaluated.
What to do
- Apply the vendor's security update for Openshift Container Platform.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | ansible |
≥ 2.3.0.0 < 2.3.1.0 |
2.3.1.0 |
pip install "ansible>=2.3.1.0" |
| PyPI | ansible |
< 2.1.6.0 |
2.1.6.0 |
pip install "ansible>=2.1.6.0" |
| PyPI | ansible |
≥ 2.2.0.0 < 2.2.3.0 |
2.2.3.0 |
pip install "ansible>=2.2.3.0" |
| PyPI | ansible |
< 2.3.1.0 |
2.3.1.0 |
pip install "ansible>=2.3.1.0" |
| PyPI | ansible |
≥ 2.3.2.0 < 2.4.0.0 |
2.4.0.0 |
pip install "ansible>=2.4.0.0" |
Per OSV / GitHub Advisories (GHSA-w578-j992-554x, PYSEC-2018-41). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | openshift_container_platform | 3.3 |
| redhat | openshift_container_platform | 3.4 |
| redhat | openshift_container_platform | 3.5 |
| redhat | openstack | 10 |
| redhat | openstack | 11 |
| redhat | storage_console | 2.0 |
| redhat | virtualization | 4.1 |
| redhat | virtualization_manager | 4.1 |
| redhat | gluster_storage | 3.2 |
| redhat | ansible_engine | < 2.3.1.0 |
| redhat | ansible_engine | ≥ 2.3.2.0 < 2.4.0.0 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
| canonical | ubuntu_linux | 19.04 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking Patch Vendor Advisory
- github.com Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- usn.ubuntu.com Third Party Advisory