ADVISORIES

GitHub Advisory Database

GHSA-68g8-c275-xf2m

Directus vulnerable to SSRF Loopback IP filter bypass

Moderate CVE-2024-46990

Details

Impact

If you're relying on blocking access to localhost using the default 0.0.0.0 filter this can be bypassed using other registered loopback devices (like 127.0.0.2 - 127.127.127.127)

Workaround

You can 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

EcosystemPackageAffected versions
npmdirectus
All versions before 10.13.3 (fixed in 10.13.3)
npmdirectus
From 11.0.0 before 11.1.0 (fixed in 11.1.0)
npm@directus/api
All versions before 21.0.0 (fixed in 21.0.0)
npm@directus/api
From 22.0.0 before 22.1.1 (fixed in 22.1.1)

References