CVE-2022-3292: rdiffweb vulnerable to Use of Cache Containing Sensitive Information
4.6
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.53904%
CWE
Published
9/29/2022
Updated
10/16/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| rdiffweb | pip | < 2.4.9 | 2.4.9 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing Cache-Control headers in HTTP responses. The key evidence is in the patch that added cache-control logic to the set_headers function in secure_headers.py. The pre-patch version of this function did not include the critical 'no-cache, no-store' directives, Pragma: no-cache, or Expires: 0 headers. This function is responsible for setting security headers across the application, and its lack of cache control mechanisms directly enabled the vulnerability. The test cases added in the commit (test_no_cache) specifically validate these headers, confirming their absence was the root cause.