CVE-2024-23823: vantage6's CORS settings overly permissive
4.2
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.17901%
CWE
Published
3/15/2024
Updated
3/15/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| vantage6 | pip | <= 4.2.2 | 4.3.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key functions:
- The init method configured Flask-CORS with unrestricted origins via 'CORS(self.app)', which defaults to allowing all domains.
- The setup_socket_connection method explicitly set SocketIO's CORS policy to '*' (all origins). Both functions failed to enforce origin restrictions, aligning with CWE-942. The commit diff shows both locations were patched to use configurable origins instead of hardcoded wildcards.