Advisory

GHSA-68g8-c275-xf2m

Also known as: CVE-2024-46990

Summary

Directus vulnerable to SSRF Loopback IP filter bypass

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-09-18 17:42 UTC
Modified
2024-09-18 19:25 UTC

Affected packages and fixes

directus

npm · All systems

Affected

  • introduced 0, fixed 10.13.3 (semver)

Fixed versions

10.13.3

Fix

directus

npm · All systems

Affected

  • introduced 11.0.0, fixed 11.1.0 (semver)

Fixed versions

11.1.0

Fix

@directus/api

npm · All systems

Affected

  • introduced 0, fixed 21.0.0 (semver)

Fixed versions

21.0.0

Fix

@directus/api

npm · All systems

Affected

  • introduced 22.0.0, fixed 22.1.1 (semver)

Fixed versions

22.1.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences