CVE-2022-26969
Insecure default value for CORS configuration
Overview
Description
In Directus before 9.7.0, the default settings of CORS_ORIGIN and CORS_ENABLED are true.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-942
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | directus | <9.7.0 | 9.7.0 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- developer.mozilla.org https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
- github.com https://github.com/directus/directus
- github.com https://github.com/directus/directus/blob/8daed9c41baeaf1d08c1e292bf9f0dcef65e48fb/docs/configuration/config-options.md
- github.com https://github.com/directus/directus/pull/12022
- github.com https://github.com/directus/directus/releases/tag/v9.7.0
- github.com https://github.com/directus/directus/security/advisories/GHSA-g27j-74fp-xfpr
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-26969
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-DIRECTUS-2441822
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.