QID 356251

Date Published: 2023-09-28

QID 356251: Amazon Linux Security Advisory for ansible : ALASANSIBLE2-2023-006

An improper output neutralization for logs flaw was found in ansible when using the uri module, where sensitive data is exposed to content and json output.
This flaw allows an attacker to access the logs or outputs of performed tasks to read keys used in playbooks from other users within the uri module.
The highest threat from this vulnerability is to data confidentiality. (
( CVE-2020-14330) a flaw was found in the ansible engine when using module_args.
Tasks executed with check mode (--check-mode) do not properly neutralize sensitive data exposed in the event data.
This flaw allows unauthorized users to read this data.
The highest threat from this vulnerability is to confidentiality. (
( CVE-2020-14332) a flaw was found in ansible engine when a file is moved using atomic_move primitive as the file mode cannot be specified.
This sets the destination files world-readable if the destination file does not exist and if the file exists, the file could be changed to have less restrictive permissions before the move.
This could lead to the disclosure of sensitive data.
All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable. (
( CVE-2020-1736)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Medium - 5.5 severity.
  • CVSS V2 rated as Low - 2.1 severity.
  • Solution
    Please refer to Amazon advisory: ALASANSIBLE2-2023-006 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 356251

    Software Advisories
    Advisory ID Software Component Link
    ALASANSIBLE2-2023-006 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALASANSIBLE2-2023-006.html