Advisory

GHSA-g4rf-pc26-6hmr

Also known as: CVE-2021-21377, PYSEC-2021-32

Summary

OMERO webclient does not validate URL redirects on login or switching group.

Details

Background
OMERO.web supports redirection to a given URL after performing login or switching the group context. These URLs are not validated, allowing redirection to untrusted sites. OMERO.web 5.9.0 adds URL validation before redirecting. External URLs are not considered valid, unless specified in the omero.web.redirect_allowed_hosts setting.

Impact
OMERO.web before 5.9.0

Patches
5.9.0

Workarounds
No workaround

References

For more information
If you have any questions or comments about this advisory:

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-03-23 15:26 UTC
Modified
2026-07-08 06:27 UTC

Affected packages and fixes

omero-web

PyPI · All systems

Affected

  • introduced 0, fixed 5.9.0 (ecosystem)

Fixed versions

5.9.0

Fix

  • Fixed version 5.9.0
    pip install --upgrade omero-web==5.9.0

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