Live threats

All CVEs / Redhat

CVE-2017-7481Redhat Openshift Container Platform

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Openshift Container Platform.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
redhatopenshift_container_platform3.3
redhatopenshift_container_platform3.4
redhatopenshift_container_platform3.5
redhatopenstack10
redhatopenstack11
redhatstorage_console2.0
redhatvirtualization4.1
redhatvirtualization_manager4.1
redhatgluster_storage3.2
redhatansible_engine< 2.3.1.0
redhatansible_engine≥ 2.3.2.0 < 2.4.0.0
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux19.04
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.