CVE-2022-26969: Insecure default value for CORS configuration
(updated )
The default value for the CORS_ENABLED and CORS_ORIGIN configuration was set to be very permissive by default. This could lead to unauthorized access in uncontrolled environments when the configuration hasn’t been changed.
References
- developer.mozilla.org/en-US/docs/Web/HTTP/CORS
- github.com/advisories/GHSA-g27j-74fp-xfpr
- github.com/directus/directus
- github.com/directus/directus/blob/8daed9c41baeaf1d08c1e292bf9f0dcef65e48fb/docs/configuration/config-options.md
- github.com/directus/directus/pull/12022
- github.com/directus/directus/releases/tag/v9.7.0
- github.com/directus/directus/security/advisories/GHSA-g27j-74fp-xfpr
- nvd.nist.gov/vuln/detail/CVE-2022-26969
- security.snyk.io/vuln/SNYK-JS-DIRECTUS-2441822
Code Behaviors & Features
Detect and mitigate CVE-2022-26969 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →