Advisory

GHSA-mjcr-rqjg-rhg3

Also known as: None

Summary

Implementation trusts the "me" field returned by the authorization server without verifying it

Details

Impact

A malicious user can sign in as a user with any IndieAuth identifier. This is because the implementation does not verify that the final "me" URL value returned by the authorization server belongs to the same domain as the initial value entered by the user.

Patches

Version 1.1 fixes this issue.

Workarounds

There is no workaround. Upgrade to 1.1 immediately.

References

For more information

If you have any questions or comments about this advisory:

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2020-11-24 21:21 UTC
Modified
2022-03-21 20:04 UTC

Affected packages and fixes

datasette-indieauth

PyPI · All systems

Affected

  • introduced 1.0, fixed 1.1 (ecosystem)

Fixed versions

1.1

Fix

  • Fixed version 1.1
    pip install --upgrade datasette-indieauth==1.1

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