{"id":"CVE-2021-21337","aliases":["CVE-2021-21337","GHSA-p44j-xrqg-4xrr","PYSEC-2021-45"],"related":[],"kind":"vulnerability","state":"published","title":"URL Redirection to Untrusted Site ('Open Redirect') in Products.PluggableAuthService","summary":"Products.PluggableAuthService is a pluggable Zope authentication and authorization framework. In Products.PluggableAuthService before version 2.6.0 there is an open redirect vulnerability. A maliciously crafted link to the login form and login functionality could redirect the browser to a different website. The problem has been fixed in version 2.6.1. Depending on how you have installed Products.PluggableAuthService, you should change the buildout version pin to `2.6.1` and re-run the buildout, or if you used `pip` simply do `pip install \"Products.PluggableAuthService>=2.6.1\".","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Products.PluggableAuthService is a pluggable Zope authentication and authorization framework. In Products.PluggableAuthService before version 2.6.0 there is an open redirect vulnerability. A maliciously crafted link to the login form and login functionality could redirect the browser to a different website. The problem has been fixed in version 2.6.1. Depending on how you have installed Products.PluggableAuthService, you should change the buildout version pin to `2.6.1` and re-run the buildout, or if you used `pip` simply do `pip install \"Products.PluggableAuthService>=2.6.1\".","source":"cvelist"},{"lang":"en","text":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nOpen redirect vulnerability - a maliciously crafted link to the login form and login functionality could redirect the browser to a different website.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nThe problem has been fixed in version 2.6.1. Depending on how you have installed Products.PluggableAuthService, you should change the buildout version pin to `2.6.1`  and re-run the buildout, or if you used `pip` simply do `pip install \"Products.PluggableAuthService>=2.6.1\"`\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nThere is no workaround. Users are encouraged to upgrade.\n\n### References\n_Are there any links users can visit to find out more?_\n\n- [GHSA-p44j-xrqg-4xrr](https://github.com/zopefoundation/Products.PluggableAuthService/security/advisories/GHSA-p44j-xrqg-4xrr)\n- [Products.PluggableAuthService on PyPI](https://pypi.org/project/Products.PluggableAuthService/)\n- [OWASP page on open redirects](https://cheatsheetseries.owasp.org/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in the [Products.PluggableAuthService issue tracker](https://github.com/zopefoundation/Products.PluggableAuthService/issues)\n* Email us at [security@plone.org](mailto:security@plone.org)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Products.PluggableAuthService es un framework de autenticación y autorización de Zope conectable. En Products.PluggableAuthService versiones anteriores a 2.6.0, se presenta una vulnerabilidad de redireccionamiento abierto. Un enlace maliciosamente diseñado en el formulario de inicio de sesión y la funcionalidad login podría redireccionar el navegador a un sitio web diferente. El problema ha sido corregido en la versión 2.6.1. Dependiendo de cómo haya instalado Products.PluggableAuthService, debe cambiar el pin de la versión de compilación a \"2.6.1\" y volver a ejecutar la compilación, o si usó pip simplemente haga la instalación de pip \"Products.PluggableAuthService versiones posteriores o iguales a 2.6.1\"","source":"nvd"}],"published":"2021-03-08T21:06:23.000Z","modified":"2026-07-08T06:27:50.342Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5.7,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"rating":"MEDIUM"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"version":"< 2.6.1","status":"affected"}],"vendor":"zopefoundation","product":"Products.PluggableAuthService","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.6.1"}],"ecosystem":"PyPI","package":"products-pluggableauthservice","purl":"pkg:pypi/products-pluggableauthservice","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.6.1"}],"vendor":"zope","product":"products.pluggableauthservice","cpe":"cpe:2.3:a:zope:products.pluggableauthservice:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"7eead067898852ebd3e0f143bc51295928528dfa"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.6.1"}],"ecosystem":"PyPI","package":"products-pluggableauthservice","purl":"pkg:pypi/products-pluggableauthservice","repo":"https://github.com/zopefoundation/Products.PluggableAuthService","source":"pysec"}],"references":[{"url":"https://pypi.org/project/Products.PluggableAuthService/","tags":["package","product","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://github.com/zopefoundation/Products.PluggableAuthService/security/advisories/GHSA-p44j-xrqg-4xrr","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/zopefoundation/Products.PluggableAuthService/commit/7eead067898852ebd3e0f143bc51295928528dfa","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://packetstormsecurity.com/files/162911/Products.PluggableAuthService-2.6.0-Open-Redirect.html","tags":["exploit","third-party-advisory","vdb-entry","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21337","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/products-pluggableauthservice/PYSEC-2021-45.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/zopefoundation/Products.PluggableAuthService","tags":["package"],"sources":["ghsa"]},{"url":"https://pypi.org/project/Products.PluggableAuthService","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-21337","url":"https://www.cve.org/CVERecord?id=CVE-2021-21337","licence":"CVE Terms of Use","modified":"2024-08-03T18:09:15.746Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p44j-xrqg-4xrr","url":"https://github.com/advisories/GHSA-p44j-xrqg-4xrr","licence":"CC-BY-4.0","modified":"2026-07-08T06:27:50.342Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-21337","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21337","licence":"Public domain","modified":"2026-06-17T03:35:19.603Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-45","url":"https://osv.dev/vulnerability/PYSEC-2021-45","licence":"CC-BY-4.0","modified":"2023-11-08T04:04:41.823Z"}],"updatedAt":"2026-11-25T22:58:00.178Z","epss":{"score":0.08544,"percentile":0.95171,"date":"2026-12-01T12:00:22.000Z"}}