{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-4237",
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "state": "PUBLISHED",
        "assignerShortName": "redhat",
        "dateReserved": "2023-08-08T11:15:05.990Z",
        "datePublished": "2023-10-04T14:23:20.710Z",
        "dateUpdated": "2024-10-25T13:07:30.578Z"
    },
    "containers": {
        "cna": {
            "title": "Platform: ec2_key module prints out the private key directly to the standard output",
            "metrics": [
                {
                    "other": {
                        "content": {
                            "value": "Moderate",
                            "namespace": "https://access.redhat.com/security/updates/classification/"
                        },
                        "type": "Red Hat severity rating"
                    }
                },
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "LOCAL",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.3,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
                        "version": "3.1"
                    },
                    "format": "CVSS"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A flaw was found in the Ansible Automation Platform. When creating a new keypair, the ec2_key module prints out the private key directly to the standard output. This flaw allows an attacker to fetch those keys from the log files, compromising the system's confidentiality, integrity, and availability."
                }
            ],
            "affected": [
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Ansible Automation Platform 2.4 for RHEL 8",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "defaultStatus": "unaffected",
                    "cpes": [
                        "cpe:/a:redhat:ansible_automation_platform:2.4::el8",
                        "cpe:/a:redhat:ansible_automation_platform:2.4::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Ansible Automation Platform 2.4 for RHEL 8",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "ansible-automation-platform-24/ee-supported-rhel8",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "1.0.0-423",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:ansible_automation_platform:2.4::el8",
                        "cpe:/a:redhat:ansible_automation_platform_cloud_billing:2.4::el8",
                        "cpe:/a:redhat:ansible_automation_platform:2.4::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Ansible Automation Platform 2.4 for RHEL 9",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "defaultStatus": "unaffected",
                    "cpes": [
                        "cpe:/a:redhat:ansible_automation_platform:2.4::el8",
                        "cpe:/a:redhat:ansible_automation_platform:2.4::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Ansible Automation Platform 2.4 for RHEL 9",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "ansible-automation-platform-24/ee-supported-rhel9",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "1.0.0-424",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:ansible_automation_platform:2.4::el8",
                        "cpe:/a:redhat:ansible_automation_platform_cloud_billing:2.4::el8",
                        "cpe:/a:redhat:ansible_automation_platform:2.4::el9"
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://access.redhat.com/errata/RHBA-2023:5653",
                    "name": "RHBA-2023:5653",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/errata/RHBA-2023:5666",
                    "name": "RHBA-2023:5666",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/security/cve/CVE-2023-4237",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2229979",
                    "name": "RHBZ#2229979",
                    "tags": [
                        "issue-tracking",
                        "x_refsource_REDHAT"
                    ]
                }
            ],
            "datePublic": "2023-08-08T11:15:00+00:00",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-497",
                            "description": "Exposure of Sensitive System Information to an Unauthorized Control Sphere",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "x_redhatCweChain": "CWE-497: Exposure of Sensitive System Information to an Unauthorized Control Sphere",
            "timeline": [
                {
                    "lang": "en",
                    "time": "2023-08-08T00:00:00+00:00",
                    "value": "Reported to Red Hat."
                },
                {
                    "lang": "en",
                    "time": "2023-08-08T11:15:00+00:00",
                    "value": "Made public."
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Red Hat would like to thank Jill Rouleau (redhat) for reporting this issue."
                }
            ],
            "providerMetadata": {
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat",
                "dateUpdated": "2024-09-16T13:54:58.098Z"
            }
        },
        "adp": [
            {
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://access.redhat.com/errata/RHBA-2023:5653",
                        "name": "RHBA-2023:5653",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://access.redhat.com/errata/RHBA-2023:5666",
                        "name": "RHBA-2023:5666",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://access.redhat.com/security/cve/CVE-2023-4237",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2229979",
                        "name": "RHBZ#2229979",
                        "tags": [
                            "issue-tracking",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20241025-0002/"
                    }
                ],
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-10-25T13:07:30.578Z"
                }
            }
        ]
    }
}