CVE-2022-3250: rdiffweb has insecure HTTP cookies
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.63264%
CWE
Published
9/22/2022
Updated
10/25/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| rdiffweb | pip | < 2.4.6 | 2.4.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from cookie security attributes not being applied during error handling. The commit moved security header logic from a HandlerTool class to a simpler Tool that executes earlier ('before_request_body'), ensuring cookie attributes are set even when HTTP errors occur. The added test cases specifically validate Secure attribute presence on error responses, confirming the original implementation's gap in error handling paths.