{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2021-4142",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "The Candlepin component of Red Hat Satellite was affected by an improper authentication flaw. Few factors could allow an attacker to use the SCA (simple content access) certificate for authentication with Candlepin."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-639 - Authorization Bypass Through User-Controlled Key -> CWE-287 - Improper Authentication",
                        "cweId": "CWE-639"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "candlepin",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "Affects v3.1.28-2, v3.2.21-1, v4.1.8-1 and earlier are affected."
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2034346",
                "refsource": "MISC",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=2034346"
            },
            {
                "url": "https://access.redhat.com/security/cve/CVE-2021-4142",
                "refsource": "MISC",
                "name": "https://access.redhat.com/security/cve/CVE-2021-4142"
            },
            {
                "url": "https://github.com/candlepin/candlepin/pull/3199",
                "refsource": "MISC",
                "name": "https://github.com/candlepin/candlepin/pull/3199"
            },
            {
                "url": "https://github.com/candlepin/candlepin/pull/3197",
                "refsource": "MISC",
                "name": "https://github.com/candlepin/candlepin/pull/3197"
            },
            {
                "url": "https://github.com/candlepin/candlepin/pull/3198",
                "refsource": "MISC",
                "name": "https://github.com/candlepin/candlepin/pull/3198"
            }
        ]
    }
}