ikus060/rdiffweb · Security
rdiffweb's unlimited length email field can lead to DoS
- GHSA ID
- GHSA-qrj3-hrgj-fm7r
- CVE ID
- CVE-2022-3272
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
rdiffweb prior to 2.4.8 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. Version 2.4.8 sets length limits for username, email, and root directory.
CWEs
- CWE-130 · Improper Handling of Length Parameter Inconsistency
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-3272 ↗
- https://github.com/ikus060/rdiffweb/commit/667657c6fe2b336c90be37f37fb92f65df4feee3 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/rdiffweb/PYSEC-2022-291.yaml ↗
- https://huntr.com/bounties/733678b9-daa1-4d6a-875a-382fa09a6e38 ↗
- https://github.com/advisories/GHSA-qrj3-hrgj-fm7r ↗