{"id":"CVE-2021-21377","published":"2021-03-23T15:25:28Z","modified":"2024-08-03T18:09:15Z","title":"Open Redirect in OMERO.web","vendor":"ome","product":"omero-web","tier":"tail","description":{"text":"OMERO.web is open source Django-based software for managing microscopy imaging. OMERO.web before version 5.9.0 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00826,"percentile":0.57419,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://pypi.org/project/omero-web/","tags":["x_refsource_MISC"]},{"url":"https://github.com/ome/omero-web/blob/master/CHANGELOG.md#590-march-2021","tags":["x_refsource_MISC"]},{"url":"https://github.com/ome/omero-web/commit/952f8e5d28532fbb14fb665982211329d137908c","tags":["x_refsource_MISC"]},{"url":"https://github.com/ome/omero-web/security/advisories/GHSA-g4rf-pc26-6hmr","tags":["x_refsource_CONFIRM"]},{"url":"https://www.openmicroscopy.org/security/advisories/2021-SV2/","tags":["x_refsource_MISC"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":11.48},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"ome","affectedVersions":[{"vendor":"ome","product":"omero-web","versions":["< 5.9.0"]}],"affected":[{"ecosystem":"PyPI","package":"omero-web","vulnerableRanges":["<5.9.0"],"patched":["5.9.0"],"from":["GHSA-g4rf-pc26-6hmr","PYSEC-2021-32"],"provenance":"source"}],"euvd":{"id":"EUVD-2021-0158","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-omero-web-cve-2021-21376","children":[{"from":"CVE-2021-21377","to":"CVE-2021-41132","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:omero-web","fromFixed":"5.9.0","toFixed":"5.11.0","daysApart":205},{"kind":"same-code","provenance":"machine","files":["omeroweb/webclient/views.py"],"commits":["https://github.com/ome/omero-web/commit/952f8e5d28532fbb14fb665982211329d137908c","https://github.com/ome/omero-web/commit/0168067accde5e635341b3c714b1d53ae92ba424"],"basis":"rarely changed file"}]},{"from":"CVE-2021-21377","to":"CVE-2024-35180","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["omeroweb/webgateway/views.py"],"commits":["https://github.com/ome/omero-web/commit/952f8e5d28532fbb14fb665982211329d137908c","https://github.com/ome/omero-web/commit/d41207cbb82afc56ea79e84db532608aa24ab4aa"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2020-7932","published":"2020-06-17","fixed":"5.6.3","kev":false,"link":{"from":"CVE-2020-7932","to":"CVE-2021-21377","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:omero-web","fromFixed":"5.6.3","toFixed":"5.9.0","daysApart":279}]}},{"cve":"CVE-2021-21376","published":"2021-03-23","fixed":"5.9.0","kev":false},{"cve":"CVE-2021-21377","published":"2021-03-23","fixed":"5.9.0","kev":false},{"cve":"CVE-2021-41132","published":"2021-10-14","fixed":"5.11.0","kev":false},{"cve":"CVE-2024-35180","published":"2024-05-21","fixed":"5.26.0","kev":false},{"cve":"CVE-2025-54791","published":"2025-08-13","fixed":"5.29.2","kev":false}],"package":"PyPI:omero-web"}}