CVE-2021-43350 LDAP filter injection vulnerability in Traffic Ops

Critical 9.8 Published Updated

Unauthenticated attackers can inject LDAP filters via crafted usernames in Apache Traffic Control, potentially bypassing authentication or accessing data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-43350?

CVE-2021-43350 is a critical vulnerability in Apache Traffic Control, published on 11 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An unauthenticated Apache Traffic Control Traffic Ops user can send a request with a specially-crafted username to the POST /login endpoint of any API version to inject unsanitized content into the LDAP filter.

Weakness: CWE-74, CWE-90

Which versions are affected by CVE-2021-43350?

5 open source packages ship an affected version, including github.com/apache/trafficcontrol. It affects 1 product.

PackageAffectedFixed in
github.com/apache/trafficcontrol GoFrom 5.1.05.1.4
github.com/apache/trafficcontrol GoFrom 5.1.05.1.4
github.com/apache/trafficcontrol GoFrom 5.1.0+incompatible5.1.4+incompatible, 6.0.1+incompatible
github.com/apache/trafficcontrol GoFrom 6.0.06.0.1
github.com/apache/trafficcontrol GoFrom 6.0.06.0.1

Products include Apache Traffic Control.

How do I fix CVE-2021-43350?

Upgrade github.com/apache/trafficcontrol to a fixed version for your release line: 5.1.4, 5.1.4+incompatible, 6.0.1+incompatible or 6.0.1.

Is CVE-2021-43350 being exploited?

There is no known exploitation of CVE-2021-43350 in the wild and no public exploit code.

Sources

Also known as GHSA-mg2c-rc36-p594, GO-2024-2776.

Is CVE-2021-43350 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free