{"answers":{"affected":"3 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-42009 in the wild and no public exploit code.","fix":"Upgrade github.com/apache/trafficcontrol to a fixed version for your release line: 5.1.3 or 5.1.3+incompatible.","what":"CVE-2021-42009 is a medium-severity vulnerability in Apache Traffic Control, published on 12 Oct 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-42009 and fix it if it is affected.\n\nWhat it is: CVE-2021-42009 is a medium-severity vulnerability in Apache Traffic Control, published on 12 Oct 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-42009 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/apache/trafficcontrol (Go): affected all versions; fixed in 5.1.3\n- github.com/apache/trafficcontrol (Go): affected all versions; fixed in 5.1.3\n- github.com/apache/trafficcontrol (Go): affected all versions; fixed in 5.1.3+incompatible\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-42009/ (Markdown: https://insights.sbomify.com/CVE-2021-42009/index.md)","id":"CVE-2021-42009","markdown":"https://insights.sbomify.com/CVE-2021-42009/index.md","name":"CVE-2021-42009","record":{"aliases":["GHSA-gw97-f6h8-gm94","GO-2022-0602"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["other"],"network_reachable":"yes","non_default_config":false,"product_category":"Traffic Control server","requires_auth":"low_privilege","summary":"Authenticated users can inject arbitrary email bodies and recipients via crafted requests, enabling spam or phishing from the server.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"traffic_control","vendor":"apache"}],"cvss":{"score":4.3,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"An authenticated Apache Traffic Control Traffic Ops user with Portal-level privileges can send a request with a specially-crafted email subject to the /deliveryservices/request Traffic Ops endpoint to send an email, from the Traffic Ops server, with an arbitrary body to an arbitrary email address. Apache Traffic Control 5.1.x users should upgrade to 5.1.3 or 6.0.0. 4.1.x users should upgrade to 5.1.3.","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":"Apache Traffic Control Traffic Ops Email Injection Vulnerability","id":"CVE-2021-42009","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"other","year":"2021"},"n_packages":3,"n_references":5,"next":{"headline":"CRLF log injection","id":"CVE-2021-42010"},"packages":[{"ecosystem":"Go","fixed":["5.1.3"],"introduced":["0"],"last_affected":[],"package":"github.com/apache/trafficcontrol","purl":null,"source":"GHSA-gw97-f6h8-gm94"},{"ecosystem":"Go","fixed":["5.1.3"],"introduced":["0"],"last_affected":[],"package":"github.com/apache/trafficcontrol","purl":"pkg:golang/github.com/apache/trafficcontrol","source":"GHSA-gw97-f6h8-gm94"},{"ecosystem":"Go","fixed":["5.1.3+incompatible"],"introduced":["0"],"last_affected":[],"package":"github.com/apache/trafficcontrol","purl":"pkg:golang/github.com/apache/trafficcontrol","source":"GO-2022-0602"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2021-42008"},"products":["Apache Traffic Control"],"published":"2021-10-12","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":"LDAP filter injection vulnerability in Traffic Ops","id":"CVE-2021-43350","kev_date_added":null,"published":"2021-11-11"},{"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":"Authenticated users can inject arbitrary email bodies and recipients via crafted requests, enabling spam or phishing from the server.","url":"https://insights.sbomify.com/CVE-2021-42009/"}