{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2021-32645",
        "STATE": "PUBLIC",
        "TITLE": "Open Redirect in tenancy"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "multi-tenant",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": ">=5.6.0, < 5.7.2"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "tenancy"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Tenancy multi-tenant is an open source multi-domain controller for the Laravel web framework. In some situations, it is possible to have open redirects where users can be redirected from your site to any other site using a specially crafted URL. This is only the case for installations where the default Hostname Identification is used and the environment uses tenants that have `force_https` set to `true` (default: `false`). Version 5.7.2 contains the relevant patches to fix this bug. Stripping the URL from special characters to prevent specially crafted URL's from being redirected to. As a work around users can set the `force_https` to every tenant to `false`, however this may degrade connection security."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
            "version": "3.0"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-601: URL Redirection to Untrusted Site ('Open Redirect')"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/tenancy/multi-tenant/security/advisories/GHSA-4r8q-gv9j-3xx6",
                "refsource": "CONFIRM",
                "url": "https://github.com/tenancy/multi-tenant/security/advisories/GHSA-4r8q-gv9j-3xx6"
            },
            {
                "name": "https://github.com/tenancy/multi-tenant/commit/9c837a21bccce9bcaeb90033ef200d84f0d9e164",
                "refsource": "MISC",
                "url": "https://github.com/tenancy/multi-tenant/commit/9c837a21bccce9bcaeb90033ef200d84f0d9e164"
            },
            {
                "name": "https://packagist.org/packages/hyn/multi-tenant",
                "refsource": "MISC",
                "url": "https://packagist.org/packages/hyn/multi-tenant"
            },
            {
                "name": "https://webmasters.googleblog.com/2009/01/open-redirect-urls-is-your-site-being.html",
                "refsource": "MISC",
                "url": "https://webmasters.googleblog.com/2009/01/open-redirect-urls-is-your-site-being.html"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-4r8q-gv9j-3xx6",
        "discovery": "UNKNOWN"
    }
}