CVE catalog

CVE-2017-7481

ansible: CVE-2017-7481

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
4.78% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianansiblesid14.4.0+dfsg-1fixed
Debianansibleforky14.0.0+dfsg-1fixed
Debianansibletrixie12.0.0+dfsg-0+deb13u1fixed
Debianansiblebookworm7.7.0+dfsg-3+deb12u1fixed
Ubuntuansible16.041.9.2+dfsg-2vulnerable
Ubuntuansible16.041.9.4-1vulnerable
Ubuntuansible16.042.0.0.2-2vulnerable
Ubuntuansible16.042.0.0.2-2ubuntu1vulnerable
Ubuntuansible16.042.0.0.2-2ubuntu1.1vulnerable
Ubuntuansible16.042.0.0.2-2ubuntu1.2vulnerable
Ubuntuansible16.042.0.0.2-2ubuntu1.3fixed
Ubuntuansible18.042.3.1.0+dfsg-2vulnerable
Ubuntuansible18.042.5.0+dfsg-1vulnerable
Ubuntuansible18.042.5.1+dfsg-1vulnerable
Ubuntuansible18.042.5.1+dfsg-1ubuntu0.1fixed
Ubuntuansible16.041.9.2+dfsg-2vulnerable
Ubuntuansible16.041.9.4-1vulnerable
Ubuntuansible16.042.0.0.2-2vulnerable
Ubuntuansible16.042.0.0.2-2ubuntu1vulnerable
Ubuntuansible16.042.0.0.2-2ubuntu1.1vulnerable
Ubuntuansible16.042.0.0.2-2ubuntu1.2vulnerable
Ubuntuansible16.042.0.0.2-2ubuntu1.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianansiblesourcesid2.3.1.0+dfsg-1not yet assignedNot reported[862666]
Debianansiblesourceforky2.3.1.0+dfsg-1not yet assignedNot reported[862666]
Debianansiblesourcetrixie2.3.1.0+dfsg-1not yet assignedNot reported[862666]
Debianansiblesourcebookworm2.3.1.0+dfsg-1not yet assignedNot reported[862666]
Ubuntuansibledeb16.042.0.0.2-2ubuntu1.3Not reportedUSN-4072-1Not reported
Ubuntuansibledeb18.042.5.1+dfsg-1ubuntu0.1Not reportedUSN-4072-1Not reported
Ubuntuansibledeb16.042.0.0.2-2ubuntu1.3Not reportedUBUNTU-CVE-2017-7481Not reported

[Debian bug #862666]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [ansible]Fixed
    Details (2)
    • 7.7.0+dfsg-3+deb12u1 · all · bookworm

      Fixed · Fixed: 2.3.1.0+dfsg-1

      dsa · ansible · debian · bookworm; dsa · ansible · debian · 12

    • 7.7.0+dfsg-3+deb12u1 · all · bookworm

      Fixed · Fixed: 2.3.1.0+dfsg-1

      dsa · ansible · debian · bookworm; dsa · ansible · debian · 12

[Debian 13 (Trixie)]

  • [ansible]Fixed
    Details (2)
    • 12.0.0+dfsg-0+deb13u1 · all · trixie

      Fixed · Fixed: 2.3.1.0+dfsg-1

      dsa · ansible · debian · 13

    • 12.0.0+dfsg-0+deb13u1 · all · trixie

      Fixed · Fixed: 2.3.1.0+dfsg-1

      dsa · ansible · debian · 13

Observed:

References