{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2022-3697",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A flaw was found in Ansible in the amazon.aws collection when using the tower_callback parameter from the amazon.aws.ec2_instance module. This flaw allows an attacker to take advantage of this issue as the module is handling the parameter insecurely, leading to the password leaking in the logs."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-233",
                        "cweId": "CWE-233"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "ansible, ansible community.aws, ansible amazon.aws",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "ansible from 2.5.0 before 2.10"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "ansible community.aws before 2.0.0"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "ansible amazon.aws from 2.1.0 before 5.1.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/ansible-collections/amazon.aws/pull/1199",
                "refsource": "MISC",
                "name": "https://github.com/ansible-collections/amazon.aws/pull/1199"
            },
            {
                "url": "https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html",
                "refsource": "MISC",
                "name": "https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html"
            }
        ]
    }
}