{"answers":{"affected":"5 open source packages ship an affected version, including github.com/apache/trafficcontrol. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-43350 in the wild and no public exploit code.","fix":"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.","what":"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."},"fix_prompt":"Check this codebase for CVE-2021-43350 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2021-43350 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/apache/trafficcontrol (Go): affected from 5.1.0; fixed in 5.1.4\n- github.com/apache/trafficcontrol (Go): affected from 5.1.0; fixed in 5.1.4\n- github.com/apache/trafficcontrol (Go): affected from 5.1.0+incompatible; fixed in 5.1.4+incompatible, 6.0.1+incompatible\n- github.com/apache/trafficcontrol (Go): affected from 6.0.0; fixed in 6.0.1\n- github.com/apache/trafficcontrol (Go): affected from 6.0.0; fixed in 6.0.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-43350/ (Markdown: https://insights.sbomify.com/CVE-2021-43350/index.md)","id":"CVE-2021-43350","markdown":"https://insights.sbomify.com/CVE-2021-43350/index.md","name":"CVE-2021-43350","record":{"aliases":["GHSA-mg2c-rc36-p594","GO-2024-2776"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Traffic Control server","requires_auth":"none","summary":"Unauthenticated attackers can inject LDAP filters via crafted usernames in Apache Traffic Control, potentially bypassing authentication or accessing data.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"traffic_control","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"},{"id":"CWE-90","name":"Improper Neutralization of Special Elements used in an LDAP Query"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"LDAP filter injection vulnerability in Traffic Ops","id":"CVE-2021-43350","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"other","year":"2021"},"n_packages":5,"n_references":4,"next":{"headline":"This is unused.","id":"CVE-2021-43351"},"packages":[{"ecosystem":"Go","fixed":["5.1.4"],"introduced":["5.1.0"],"last_affected":[],"package":"github.com/apache/trafficcontrol","purl":null,"source":"GHSA-mg2c-rc36-p594"},{"ecosystem":"Go","fixed":["5.1.4"],"introduced":["5.1.0"],"last_affected":[],"package":"github.com/apache/trafficcontrol","purl":"pkg:golang/github.com/apache/trafficcontrol","source":"GHSA-mg2c-rc36-p594"},{"ecosystem":"Go","fixed":["5.1.4+incompatible","6.0.1+incompatible"],"introduced":["5.1.0+incompatible","6.0.0+incompatible"],"last_affected":[],"package":"github.com/apache/trafficcontrol","purl":"pkg:golang/github.com/apache/trafficcontrol","source":"GO-2024-2776"},{"ecosystem":"Go","fixed":["6.0.1"],"introduced":["6.0.0"],"last_affected":[],"package":"github.com/apache/trafficcontrol","purl":null,"source":"GHSA-mg2c-rc36-p594"},{"ecosystem":"Go","fixed":["6.0.1"],"introduced":["6.0.0"],"last_affected":[],"package":"github.com/apache/trafficcontrol","purl":"pkg:golang/github.com/apache/trafficcontrol","source":"GHSA-mg2c-rc36-p594"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2021-43339"},"products":["Apache Traffic Control"],"published":"2021-11-11","related":[{"cvss_score":9.9,"headline":"Apache Traffic Control: SQL Injection in Traffic Ops endpoint PUT deliveryservice_request_comments","id":"CVE-2024-45387","kev_date_added":null,"published":"2024-12-23"},{"cvss_score":9.8,"headline":"Improper Authentication in Apache Traffic Control","id":"CVE-2019-12405","kev_date_added":null,"published":"2019-09-09"},{"cvss_score":7.5,"headline":"Apache Traffic Control: ReDoS issue in Traffic Router configuration","id":"CVE-2025-61581","kev_date_added":null,"published":"2025-10-16"},{"cvss_score":7.5,"headline":"Server-Side Request Forgery in Traffic Ops endpoint POST /user/login/oauth","id":"CVE-2022-23206","kev_date_added":null,"published":"2022-02-06"},{"cvss_score":7.5,"headline":"Apache Traffic Control vulnerable to Slowloris-style Denial of Service attack","id":"CVE-2017-7670","kev_date_added":null,"published":"2017-07-10"},{"cvss_score":5.8,"headline":"Cache Manipulation Attack in Apache Traffic Control","id":"CVE-2020-17522","kev_date_added":null,"published":"2021-01-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Apache Software Foundation"]},"summary":"Unauthenticated attackers can inject LDAP filters via crafted usernames in Apache Traffic Control, potentially bypassing authentication or accessing data.","url":"https://insights.sbomify.com/CVE-2021-43350/"}