ADVISORIES

GitHub Advisory Database

GHSA-w832-gg5g-x44m

Open redirect endpoint in Datasette

Details

Impact

Deployed instances of Datasette prior to 0.65.2 and 1.0a21 include an open redirect vulnerability.

Hits to the path //example.com/foo/bar/ (the trailing slash is required) will redirect the user to https://example.com/foo/bar.

Patches

This problem has been patched in both Datasette 0.65.2 and 1.0a21.

Workarounds

If Datasette is running behind a proxy that proxy could be configured to replace // with / in incoming request URLs.

Affected packages

EcosystemPackageAffected versions
PyPIdatasette
All versions before 0.65.2 (fixed in 0.65.2)
PyPIdatasette
From 1.0a0 before 1.0a21 (fixed in 1.0a21)

References