CVE-2021-43350: Apache Traffic Control Traffic Ops Vulnerable to LDAP Injection
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.81519%
CWE
Published
5/24/2022
Updated
6/10/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/apache/trafficcontrol | go | >= 6.0.0, < 6.0.1 | 6.0.1 |
| github.com/apache/trafficcontrol | go | >= 5.1.0, < 5.1.4 | 5.1.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper neutralization of the username parameter in LDAP queries. The /login endpoint's authentication flow would logically involve an LDAP filter construction using user input. Given the CWE-74 classification and the LDAP injection vector, the most likely vulnerable code is the LDAP authentication handler that builds the filter string without applying proper escaping (e.g., using fmt.Sprintf("(cn=%s)", username) instead of ldap.EscapeFilter). The function name and location are inferred from standard Traffic Control project structure and authentication implementation patterns.