CVE-2017-7670: Github.com/apache/trafficcontrol Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-f2wr-c4c4-xjg7
CVSS 7.5
CWE-400
Published
Advisory Summary

CVE-2017-7670 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Github.com/apache/trafficcontrol libraries in the Go ecosystem. The issue involves apache traffic control vulnerable to slowloris-style denial of service attack. Remediation is available by upgrading affected packages to version 1.8.1, 2.0.0, 2.1.0-RC1, 0.0.0-20170531185407-738c10fa1b58, 1.1.4-0.20170531185407-738c10fa1b58.

CVE-2017-7670 at a Glance

CVE Identifier CVE-2017-7670
GHSA Identifier GHSA-f2wr-c4c4-xjg7
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Github.com/apache/trafficcontrol
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2017-7670

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.

github.com/apache/trafficcontrol fixed: 1.8.1
Upgrade github.com/apache/trafficcontrol to 1.8.1
github.com/apache/trafficcontrol fixed: 2.0.0
Upgrade github.com/apache/trafficcontrol to 2.0.0
github.com/apache/trafficcontrol fixed: 2.1.0-RC1
Upgrade github.com/apache/trafficcontrol to 2.1.0-RC1
github.com/apache/trafficcontrol fixed: 0.0.0-20170531185407-738c10fa1b58
Upgrade github.com/apache/trafficcontrol to 0.0.0-20170531185407-738c10fa1b58
github.com/apache/trafficcontrol fixed: 1.1.4-0.20170531185407-738c10fa1b58
Upgrade github.com/apache/trafficcontrol to 1.1.4-0.20170531185407-738c10fa1b58
Verify Direct and Transitive Dependencies

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-2017-7670, 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 1.8.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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. 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

The Traffic Router component of the incubating Apache Traffic Control project is vulnerable to a Slowloris style Denial of Service attack. TCP connections made on the configured DNS port will remain in the `ESTABLISHED` state until the client explicitly closes the connection or Traffic Router is restarted. If connections remain in the `ESTABLISHED` state indefinitely and accumulate in number to match the size of the thread pool dedicated to processing DNS requests, the thread pool becomes exhausted. Once the thread pool is exhausted, Traffic Router is unable to service any DNS request, regardless of transport protocol.

CVE-2017-7670 Affected Github.com/apache/trafficcontrol Versions

5 component(s)
Fixed Versions:
1.8.12.0.02.1.0-RC10.0.0-20170531185407-738c10fa1b581.1.4-0.20170531185407-738c10fa1b58
Product / Package Ecosystem Affected Versions Fixed Version
github.com/apache/trafficcontrol
Go
≥ 1.1.4
< 1.8.1
1.8.1
github.com/apache/trafficcontrol
Go
≥ 2.0.0-RC0
< 2.0.0
2.0.0
github.com/apache/trafficcontrol
Go
≥ 2.1.0-RC0
< 2.1.0-RC1
All 1 versions
2.1.0-RC0
2.1.0-RC1
github.com/apache/trafficcontrol
Go
< 0.0.0-20170531185407-738c10fa1b58
0.0.0-20170531185407-738c10fa1b58
github.com/apache/trafficcontrol
Go
≥ 0.0.0
< 1.1.4-0.20170531185407-738c10fa1b58
1.1.4-0.20170531185407-738c10fa1b58

References

Frequently Asked Questions

What is CVE-2017-7670?
CVE-2017-7670 is a security vulnerability in Github.com/apache/trafficcontrol involving Apache Traffic Control vulnerable to Slowloris-style Denial of Service attack under CWE-400: Uncontrolled Resource Consumption.
Which Github.com/apache/trafficcontrol versions are affected?
Affected versions include releases prior to 1.8.1, 2.0.0, 2.1.0-RC1, 0.0.0-20170531185407-738c10fa1b58, 1.1.4-0.20170531185407-738c10fa1b58 across affected packages: github.com/apache/trafficcontrol.
What version fixes CVE-2017-7670?
Upgrading to 1.8.1, 2.0.0, 2.1.0-RC1, 0.0.0-20170531185407-738c10fa1b58, 1.1.4-0.20170531185407-738c10fa1b58 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/apache/trafficcontrol affected?
Yes, github.com/apache/trafficcontrol is affected in releases prior to 1.8.1, 2.0.0, 2.1.0-RC1, 0.0.0-20170531185407-738c10fa1b58, 1.1.4-0.20170531185407-738c10fa1b58. Upgrade your dependency to 1.8.1, 2.0.0, 2.1.0-RC1, 0.0.0-20170531185407-738c10fa1b58, 1.1.4-0.20170531185407-738c10fa1b58 or later.
What is the CVSS score of CVE-2017-7670?
CVE-2017-7670 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2017-7670?
CVE-2017-7670 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Go dependencies for CVE-2017-7670?
Run the dependency tree command: 'inspect dependencies for github.com/apache/trafficcontrol'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-f2wr-c4c4-xjg7",
  "modified" : "2025-07-09T15:40:27Z",
  "published" : "2022-05-13T01:09:17Z",
  "aliases" : [ "CVE-2017-7670" ],
  "summary" : "Apache Traffic Control vulnerable to Slowloris-style Denial of Service attack",
  "details" : "The Traffic Router component of the incubating Apache Traffic Control project is vulnerable to a Slowloris style Denial of Service attack. TCP connections made on the configured DNS port will remain in the `ESTABLISHED` state until the client explicitly closes the connection or Traffic Router is restarted. If connections remain in the `ESTABLISHED` state indefinitely and accumulate in number to match the size of the thread pool dedicated to processing DNS requests, the thread pool becomes exhausted. Once the thread pool is exhausted, Traffic Router is unable to service any DNS request, regardless of transport protocol.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/apache/trafficcontrol"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.1.4"
      }, {
        "fixed" : "1.8.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/apache/trafficcontrol"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0-RC0"
      }, {
        "fixed" : "2.0.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/apache/trafficcontrol"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.0-RC0"
      }, {
        "fixed" : "2.1.0-RC1"
      } ]
    } ],
    "versions" : [ "2.1.0-RC0" ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/apache/trafficcontrol"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20170531185407-738c10fa1b58"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/apache/trafficcontrol"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.0.0"
      }, {
        "fixed" : "1.1.4-0.20170531185407-738c10fa1b58"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-7670"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/trafficcontrol/pull/633"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/trafficcontrol/pull/634"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/trafficcontrol/commit/738c10fa1b5861e4cc3944dc7c3065d16f4a708c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/trafficcontrol"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/42b207e9f526353b504591684bd02a5e9fcb4b8f28534253d07740a0@%3Cusers.trafficcontrol.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/bb09fc29e9c2ee85b118a3d5748a8a523d30cf691ff8b606c6a1748c@%3Ccommits.trafficcontrol.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r3c675031ac220b5eae64a9c84a03ee60045c6045738607dca4a96cb8@%3Ccommits.trafficcontrol.apache.org%3E"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-24T21:47:30Z",
    "nvd_published_at" : "2017-07-10T18:29:00Z"
  }
}