{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2021-22895",
        "ASSIGNER": "support@hackerone.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Nextcloud Desktop Client",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "Fixed in 3.3.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Improper Certificate Validation (CWE-295)"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "name": "https://hackerone.com/reports/903424",
                "url": "https://hackerone.com/reports/903424"
            },
            {
                "refsource": "MISC",
                "name": "https://github.com/nextcloud/desktop/pull/2926",
                "url": "https://github.com/nextcloud/desktop/pull/2926"
            },
            {
                "refsource": "MISC",
                "name": "https://github.com/nextcloud/desktop/releases/tag/v3.1.3",
                "url": "https://github.com/nextcloud/desktop/releases/tag/v3.1.3"
            },
            {
                "refsource": "MISC",
                "name": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-qpgp-vf4p-wcw5",
                "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-qpgp-vf4p-wcw5"
            },
            {
                "refsource": "DEBIAN",
                "name": "DSA-4974",
                "url": "https://www.debian.org/security/2021/dsa-4974"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Nextcloud Desktop Client before 3.3.1 is vulnerable to improper certificate validation due to lack of SSL certificate verification when using the \"Register with a Provider\" flow."
            }
        ]
    }
}