CVE-2016-8579: Github.com/appc/docker2aci Denial of Service Vulnerability

MODERATE
Advisory Identifier: GHSA-gfh2-7jg5-653p
CVSS 4.0
CWE-835
Published
Advisory Summary

CVE-2016-8579 is a MODERATE (CVSS 4.0) denial of service vulnerability (CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')) affecting Github.com/appc/docker2aci libraries in the Go ecosystem. The issue involves denial of service in docker2aci. Remediation is available by upgrading affected packages to version 0.13.0.

CVE-2016-8579 at a Glance

CVE Identifier CVE-2016-8579
GHSA Identifier GHSA-gfh2-7jg5-653p
Severity MODERATE
CVSS v3.1 Base Score 4.0
CWE Classification CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Affected Product Github.com/appc/docker2aci
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 4.0

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

Attack Vector Local (AV:L)
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 Low (A:L)

How to Fix CVE-2016-8579

To remediate this vulnerability, upgrade all affected Github.com/appc/docker2aci 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/appc/docker2aci fixed: 0.13.0
Upgrade github.com/appc/docker2aci to 0.13.0
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/appc/docker2aci

How to Check if You Are Affected

To determine whether your application is affected by CVE-2016-8579, inspect your project dependencies for Github.com/appc/docker2aci:

inspect dependencies for github.com/appc/docker2aci

Analyze the terminal output to locate any version of Github.com/appc/docker2aci in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.13.0), 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-835: Loop with Unreachable Exit Condition ('Infinite Loop'), where the product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop. In Github.com/appc/docker2aci, 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

docker2aci <= 0.12.3 has an infinite loop when handling local images with cyclic dependency chain.

CVE-2016-8579 Affected Github.com/appc/docker2aci Versions

1 component(s)
Fixed Versions:
0.13.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/appc/docker2aci
Go
< 0.13.0
0.13.0

References

Frequently Asked Questions

What is CVE-2016-8579?
CVE-2016-8579 is a security vulnerability in Github.com/appc/docker2aci involving Denial of Service in docker2aci under CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop').
Which Github.com/appc/docker2aci versions are affected?
Affected versions include releases prior to 0.13.0 across affected packages: github.com/appc/docker2aci.
What version fixes CVE-2016-8579?
Upgrading to 0.13.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/appc/docker2aci affected?
Yes, github.com/appc/docker2aci is affected in releases prior to 0.13.0. Upgrade your dependency to 0.13.0 or later.
What is the CVSS score of CVE-2016-8579?
CVE-2016-8579 has a CVSS v3.1 base score of 4.0 (MODERATE) with vector string CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2016-8579?
CVE-2016-8579 is classified under CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') (The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.).
How can I check Go dependencies for CVE-2016-8579?
Run the dependency tree command: 'inspect dependencies for github.com/appc/docker2aci'. 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-gfh2-7jg5-653p",
  "modified" : "2021-05-20T16:29:42Z",
  "published" : "2022-02-15T01:57:18Z",
  "aliases" : [ "CVE-2016-8579" ],
  "summary" : "Denial of Service in docker2aci",
  "details" : "docker2aci <= 0.12.3 has an infinite loop when handling local images with cyclic dependency chain.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/appc/docker2aci"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.13.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-8579"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/appc/docker2aci/issues/203"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/appc/docker2aci/pull/204/commits/54331ec7020e102935c31096f336d31f6400064f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/appc/docker2aci/releases/tag/v0.13.0"
  }, {
    "type" : "WEB",
    "url" : "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-8579"
  }, {
    "type" : "WEB",
    "url" : "https://www.securityfocus.com/bid/93560"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-835" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-05-20T16:29:42Z",
    "nvd_published_at" : null
  }
}