Vulnerability · Published Sep 18, 2024 · Assigned by GitHub_M
CVE-2024-46990SSRF Loopback IP filter bypass in directus
Medium 5.0
In plain English
A medium-severity improper access control in directus from directus. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Directus is a real-time API and App dashboard for managing SQL database content. When relying on blocking access to localhost using the default `0.0.0.0` filter a user may bypass this block by using other registered loopback devices (like `127.0.0.2` - `127.127.127.127`). This issue has been addressed in release versions 10.13.3 and 11.1.0. Users are advised to upgrade. Users unable to upgrade may block this bypass by manually adding the `127.0.0.0/8` CIDR range which will block access to any `127.X.X.X` ip instead of just `127.0.0.1`.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @directus/api | 21.0.0 | GHSA-68g8-c275-xf2m |
| npm | @directus/api | 22.1.1 | GHSA-68g8-c275-xf2m |
| npm | directus | 10.13.3 | GHSA-68g8-c275-xf2m |
| npm | directus | 11.1.0 | GHSA-68g8-c275-xf2m |
Affected products (as reported)
Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
References
- https://github.com/directus/directus/security/advisories/GHSA-68g8-c275-xf2m x_refsource_CONFIRM
- https://github.com/directus/directus/commit/4aace0bbe57232e38cd6a287ee475293e46dc91b x_refsource_MISC
- https://github.com/directus/directus/commit/769fa22797bff5a9231599883b391e013f122e52 x_refsource_MISC
- https://github.com/directus/directus/commit/8cbf943b65fd4a763d09a5fdbba8996b1e7797ff x_refsource_MISC
- https://github.com/directus/directus/commit/c1f3ccc681595038d094ce110ddeee38cb38f431 x_refsource_MISC