CVE-2020-24660: Lack of URL normalization may lead to authorization bypass when URL access rules are used
6.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.70597%
CWE
Published
9/9/2020
Updated
1/9/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
lemonldap-ng-handler | npm | < 0.5.2 | 0.5.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper URL normalization before access control checks. The commit diff shows the patched version replaced decodeURI() with normalize-url in the Handler.run method. The original decodeURI only performed partial decoding without handling path normalization, making the authorization checks vulnerable to bypass through alternative encodings and path traversal sequences. This function is directly responsible for processing incoming requests and applying access rules, making it the clear vulnerable entry point.