CVE-2024-27291:
Docassemble open redirect
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.37341%
CWE
Published
2/29/2024
Updated
3/21/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
docassemble.webapp | pip | < 1.4.97 | 1.4.97 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability is an open redirect caused by improper URL validation. The commit diff shows critical changes to the make_safe_url function in server.py, where the patched version adds: 1) A list of allowed endpoint checks, 2) Path normalization to prevent relative paths, and 3) Strict slash prefix requirements. These changes directly address open redirect vulnerabilities by ensuring user-supplied URLs can't be crafted to point to external domains.