{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2021-22879",
        "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.1.3"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Resource Injection (CWE-99)"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "name": "https://hackerone.com/reports/1078002",
                "url": "https://hackerone.com/reports/1078002"
            },
            {
                "refsource": "MISC",
                "name": "https://nextcloud.com/security/advisory/?id=NC-SA-2021-008",
                "url": "https://nextcloud.com/security/advisory/?id=NC-SA-2021-008"
            },
            {
                "refsource": "MISC",
                "name": "https://github.com/nextcloud/desktop/pull/2906",
                "url": "https://github.com/nextcloud/desktop/pull/2906"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-1ffffa0251",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MTWBJAS5DJJIK7LLVBZZQTSJASUVIRVE/"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202105-37",
                "url": "https://security.gentoo.org/glsa/202105-37"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Nextcloud Desktop Client prior to 3.1.3 is vulnerable to resource injection by way of missing validation of URLs, allowing a malicious server to execute remote commands. User interaction is needed for exploitation."
            }
        ]
    }
}