rdiffweb prior to 2.5.0a3 does not validate email length, allowing users to insert an email longer than 255 characters. If a user signs up with an email with a length of 1 million or more characters and logs in, withdraws, or changes their email, the server may cause denial of service due to overload.
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-3364
- https://github.com/ikus060/rdiffweb/commit/b62c479ff6979563c7c23e7182942bc4f460a2c7
- https://huntr.dev/bounties/e70ad507-1424-463b-bdf1-c4a6fbe6e720
- https://github.com/pypa/advisory-database/tree/main/vulns/rdiffweb/PYSEC-2022-298.yaml
- https://github.com/advisories/GHSA-fqfg-c577-2vc3