CVE catalog

CVE-2021-3583

ansible: CVE-2021-3583

[CVE catalog]

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

A flaw was found in Ansible, where a user's controller is vulnerable to template injection. This issue can occur through facts used in the template if the user is trying to put templates in multi-line YAML strings and the facts being handled do not routinely include special template characters. This flaw allows attackers to perform command injection, which discloses sensitive information. The highest threat from this vulnerability is to confidentiality and integrity.

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
Debianansible-coresid2.22.0~beta2-1fixed
Debianansible-coreforky2.22.0~beta2-1fixed
Debianansible-coretrixie2.19.11-0+deb13u1fixed
Debianansible-corebookworm2.14.18-0+deb12u2fixed
Suseansiblehpe helion openstack 82.9.27-3.21.1fixed
Suseansibleopenstack cloud 82.9.27-3.21.1fixed
Suseansibleopenstack cloud crowbar 82.9.27-3.21.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianansiblesourcesid5.4.0-1not yet assignedNot reportedNot reported
Debianansiblesourceforky5.4.0-1not yet assignedNot reportedNot reported
Debianansiblesourcetrixie5.4.0-1not yet assignedNot reportedNot reported
Debianansiblesourcebookworm5.4.0-1not yet assignedNot reportedNot reported
Debianansible-coresourcesid2.12.0-1not yet assignedNot reportedNot reported
Debianansible-coresourceforky2.12.0-1not yet assignedNot reportedNot reported
Debianansible-coresourcetrixie2.12.0-1not yet assignedNot reportedNot reported
Debianansible-coresourcebookworm2.12.0-1not yet assignedNot reportedNot reported
Suseansiblerpmhpe helion openstack 82.9.27-3.21.1Not reportedSUSE-SU-2021:4152-1Not reported
Suseansiblerpmopenstack cloud 82.9.27-3.21.1Not reportedSUSE-SU-2021:4152-1Not reported
Suseansiblerpmopenstack cloud crowbar 82.9.27-3.21.1Not reportedSUSE-SU-2021:4152-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

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

      Fixed · Fixed: 5.4.0-1

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

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

      Fixed · Fixed: 5.4.0-1

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

  • Details (2)
    • 2.14.18-0+deb12u2 · all · bookworm

      Fixed · Fixed: 2.12.0-1

      dsa · ansible-core · debian · bookworm; dsa · ansible-core · debian · 12

    • 2.14.18-0+deb12u2 · all · bookworm

      Fixed · Fixed: 2.12.0-1

      dsa · ansible-core · debian · bookworm; dsa · ansible-core · debian · 12

[Debian 13 (Trixie)]

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

      Fixed · Fixed: 5.4.0-1

      dsa · ansible · debian · 13

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

      Fixed · Fixed: 5.4.0-1

      dsa · ansible · debian · 13

  • Details (2)
    • 2.19.4-0+deb13u1 · all · trixie

      Fixed · Fixed: 2.12.0-1

      dsa · ansible-core · debian · 13

    • 2.19.4-0+deb13u1 · all · trixie

      Fixed · Fixed: 2.12.0-1

      dsa · ansible-core · debian · 13

Observed:

References