CVE-2021-42009 Apache Traffic Control Traffic Ops Email Injection Vulnerability
Authenticated users can inject arbitrary email bodies and recipients via crafted requests, enabling spam or phishing from the server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-42009?
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.
Official 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.
Weakness: CWE-20
Which versions are affected by CVE-2021-42009?
3 open source packages ship an affected version, including github.com/apache/trafficcontrol. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/apache/trafficcontrol Go | All versions | 5.1.3 |
github.com/apache/trafficcontrol Go | All versions | 5.1.3 |
github.com/apache/trafficcontrol Go | All versions | 5.1.3+incompatible |
Products include Apache Traffic Control.
How do I fix CVE-2021-42009?
Upgrade github.com/apache/trafficcontrol to a fixed version for your release line: 5.1.3 or 5.1.3+incompatible.
Is CVE-2021-42009 being exploited?
There is no known exploitation of CVE-2021-42009 in the wild and no public exploit code.
Other vulnerabilities in Apache Traffic Control
- CVE-2024-45387 Apache Traffic Control: SQL Injection in Traffic Ops endpoint PUT deliveryservice_request_comments
- CVE-2021-43350 LDAP filter injection vulnerability in Traffic Ops
- CVE-2019-12405 Improper Authentication in Apache Traffic Control
- CVE-2025-61581 Apache Traffic Control: ReDoS issue in Traffic Router configuration
- CVE-2022-23206 Server-Side Request Forgery in Traffic Ops endpoint POST /user/login/oauth
Sources
Also known as GHSA-gw97-f6h8-gm94, GO-2022-0602.