CVE-2021-43350: Github.com/apache/trafficcontrol Apache Traffic Control Traffic Ops Vulnerability
CRITICALCVE-2021-43350 is a CRITICAL (CVSS 9.8) apache traffic control traffic ops vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting Github.com/apache/trafficcontrol libraries in the Go ecosystem. The issue involves apache traffic control traffic ops vulnerable to ldap injection. Remediation is available by upgrading affected packages to version 6.0.1, 5.1.4.
CVE-2021-43350 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2021-43350
To remediate this vulnerability, upgrade all affected Github.com/apache/trafficcontrol dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/apache/trafficcontrol to 6.0.1
Upgrade github.com/apache/trafficcontrol to 5.1.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/apache/trafficcontrol
How to Check if You Are Affected
To determine whether your application is affected by CVE-2021-43350, inspect your project dependencies for Github.com/apache/trafficcontrol:
inspect dependencies for github.com/apache/trafficcontrol
Analyze the terminal output to locate any version of Github.com/apache/trafficcontrol in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.0.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), where the product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. In Github.com/apache/trafficcontrol, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2021-43350 Affected Github.com/apache/trafficcontrol Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed 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
|
References
Frequently Asked Questions
What is CVE-2021-43350?
Which Github.com/apache/trafficcontrol versions are affected?
What version fixes CVE-2021-43350?
Is github.com/apache/trafficcontrol affected?
What is the CVSS score of CVE-2021-43350?
What CWE is associated with CVE-2021-43350?
How can I check Go dependencies for CVE-2021-43350?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mg2c-rc36-p594",
"modified" : "2024-06-10T20:00:23Z",
"published" : "2022-05-24T19:20:26Z",
"aliases" : [ "CVE-2021-43350" ],
"summary" : "Apache Traffic Control Traffic Ops Vulnerable to LDAP Injection",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/apache/trafficcontrol"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/apache/trafficcontrol"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.1.0"
}, {
"fixed" : "5.1.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-43350"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/trafficcontrol"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2024-2776"
}, {
"type" : "WEB",
"url" : "https://trafficcontrol.apache.org/security"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2021/11/11/3"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2021/11/11/4"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2021/11/17/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-74" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-24T21:47:27Z",
"nvd_published_at" : "2021-11-11T13:15:00Z"
}
}