CVE catalog

CVE-2021-20191

ansible: CVE-2021-20191

[CVE catalog]

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

A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality. Versions before ansible 2.9.18 are affected.

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
Alpineansible3.102.8.19-r0fixed
Alpineansible3.112.9.18-r0fixed
Alpineansible3.122.9.18-r0fixed
Alpineansible3.132.10.7-r0fixed
Alpineansible3.142.10.7-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianansiblesourcesid2.10.7-1not yet assignedNot reported[985753]
Debianansiblesourceforky2.10.7-1not yet assignedNot reported[985753]
Debianansiblesourcetrixie2.10.7-1not yet assignedNot reported[985753]
Debianansiblesourcebookworm2.10.7-1not yet assignedNot reported[985753]
Alpineansibleapk3.102.8.19-r0Not reportedALPINE-CVE-2021-20191Not reported
Alpineansibleapk3.112.9.18-r0Not reportedALPINE-CVE-2021-20191Not reported
Alpineansibleapk3.122.9.18-r0Not reportedALPINE-CVE-2021-20191Not reported
Alpineansibleapk3.132.10.7-r0Not reportedALPINE-CVE-2021-20191Not reported
Alpineansibleapk3.142.10.7-r0Not reportedALPINE-CVE-2021-20191Not reported

[Debian bug #985753]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

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

      Fixed · Fixed: 2.10.7-1

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

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

      Fixed · Fixed: 2.10.7-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.10.7-1

      dsa · ansible · debian · 13

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

      Fixed · Fixed: 2.10.7-1

      dsa · ansible · debian · 13

Observed:

References