CVE-2022-3167: rdiffweb vulnerable to Improper Restriction of Rendered UI Layers or Frames
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.41564%
CWE
Published
9/9/2022
Updated
10/25/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
rdiffweb | pip | < 2.4.1 | 2.4.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing X-Frame-Options headers. The commit patching CVE-2022-3167 modified the CsrfAuth class in security.py to add 'X-Frame-Options: DENY' in a renamed _set_headers method (previously _set_same_site). The original _set_same_site function only handled cookie SameSite attributes but didn't implement frame restriction headers, making it the root cause. The addition of test_clickjacking_defense in test_csrf.py confirms the security header was missing in vulnerable versions.