CVE-2021-42009: Github.com/apache/trafficcontrol Email Relay Vulnerability
MODERATECVE-2021-42009 is a MODERATE (CVSS 4.3) email relay vulnerability (CWE-20: Improper Input Validation) affecting Github.com/apache/trafficcontrol libraries in the Go ecosystem. The issue involves email relay in apache traffic control. Remediation is available by upgrading affected packages to version 5.1.3.
CVE-2021-42009 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N).
How to Fix CVE-2021-42009
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 5.1.3
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-42009, 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 5.1.3), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. 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-42009 Affected Github.com/apache/trafficcontrol Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/apache/trafficcontrol
|
Go |
< 5.1.3
|
5.1.3
|
References
Frequently Asked Questions
What is CVE-2021-42009?
Which Github.com/apache/trafficcontrol versions are affected?
What version fixes CVE-2021-42009?
Is github.com/apache/trafficcontrol affected?
What is the CVSS score of CVE-2021-42009?
What CWE is associated with CVE-2021-42009?
How can I check Go dependencies for CVE-2021-42009?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gw97-f6h8-gm94",
"modified" : "2021-10-20T17:07:20Z",
"published" : "2021-10-13T18:55:04Z",
"aliases" : [ "CVE-2021-42009" ],
"summary" : "Email relay in Apache Traffic Control",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/apache/trafficcontrol"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.1.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-42009"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/trafficcontrol"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r78d471d8a4fd268a4c5ae6c47327c09d9d4b4467c31da2c97422febb@%3Cdev.trafficcontrol.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r7dfa9a89b39d06caeeeb7b5cdc41b3493a9b86cc6cfa059d3f349d87@%3Cannounce.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/re384fd0f44c6d230f31376153c6e8b59e4a669f927c1533d06d702af%40%3Cdev.trafficcontrol.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/rf0481b9e38ece1ece458d3ce7b2d671df819e3555597f31fc34f084e%40%3Ccommits.trafficcontrol.apache.org%3E"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2021/10/12/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-10-13T17:43:05Z",
"nvd_published_at" : "2021-10-12T08:15:00Z"
}
}