GHSA-f7cq-5v43-8pwp: Github.com/traefik/traefik/v2 Traefik Vulnerable To GO Issue Vulnerability

MODERATE
CVSS 5.3
CWE-1395
Published
Advisory Summary

GHSA-f7cq-5v43-8pwp is a MODERATE (CVSS 5.3) traefik vulnerable to go issue vulnerability (CWE-1395: Dependency on Vulnerable Third-Party Component) affecting Github.com/traefik/traefik/v2 libraries in the Go ecosystem. The issue involves traefik vulnerable to go issue allowing malformed dns message to cause infinite loop. Remediation is available by upgrading affected packages to version 2.11.3, 3.0.1.

GHSA-f7cq-5v43-8pwp at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-f7cq-5v43-8pwp
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-1395: Dependency on Vulnerable Third-Party Component
Affected Product Github.com/traefik/traefik/v2
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.3

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

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 Low (A:L)

How to Fix GHSA-f7cq-5v43-8pwp

To remediate this vulnerability, upgrade all affected Github.com/traefik/traefik/v2 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/traefik/traefik/v2 fixed: 2.11.3
Upgrade github.com/traefik/traefik/v2 to 2.11.3
github.com/traefik/traefik/v3 fixed: 3.0.1
Upgrade github.com/traefik/traefik/v3 to 3.0.1
github.com/traefik/traefik fixed: Latest secure release
Upgrade github.com/traefik/traefik to Latest secure release
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/traefik/traefik/v2

How to Check if You Are Affected

To determine whether your application is affected by GHSA-f7cq-5v43-8pwp, inspect your project dependencies for Github.com/traefik/traefik/v2:

inspect dependencies for github.com/traefik/traefik/v2

Analyze the terminal output to locate any version of Github.com/traefik/traefik/v2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.11.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-1395: Dependency on Vulnerable Third-Party Component, where the product has a dependency on a third-party component that contains one or more known vulnerabilities. In Github.com/traefik/traefik/v2, 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

### Impact There is a vulnerability in [GO managing malformed DNS message](https://groups.google.com/g/golang-announce/c/wkkO4P9stm0), which impacts Traefik. This vulnerability could be exploited to cause a denial of service. ### References - [CVE-2024-24788](https://www.cve.org/CVERecord?id=CVE-2024-24788) ### Patches - https://github.com/traefik/traefik/releases/tag/v2.11.3 - https://github.com/traefik/traefik/releases/tag/v3.0.1 ### Workarounds No workaround. ### For more information If you have any questions or comments about this advisory, please [open an issue](https://github.com/traefik/traefik/issues).

GHSA-f7cq-5v43-8pwp Affected Github.com/traefik/traefik/v2 Versions

3 component(s)
Fixed Versions:
2.11.33.0.1
Product / Package Ecosystem Affected Versions Fixed Version
github.com/traefik/traefik/v2
Go
< 2.11.3
2.11.3
github.com/traefik/traefik/v3
Go
< 3.0.1
3.0.1
github.com/traefik/traefik
Go
≤ 1.7.34

References

Frequently Asked Questions

What is GHSA-f7cq-5v43-8pwp?
GHSA-f7cq-5v43-8pwp is a security vulnerability in Github.com/traefik/traefik/v2 involving Traefik vulnerable to GO issue allowing malformed DNS message to cause infinite loop under CWE-1395: Dependency on Vulnerable Third-Party Component.
Which Github.com/traefik/traefik/v2 versions are affected?
Affected versions include releases prior to 2.11.3, 3.0.1 across affected packages: github.com/traefik/traefik/v2, github.com/traefik/traefik/v3, github.com/traefik/traefik.
What version fixes GHSA-f7cq-5v43-8pwp?
Upgrading to 2.11.3, 3.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/traefik/traefik/v2 affected?
Yes, github.com/traefik/traefik/v2 is affected in releases prior to 2.11.3. Upgrade your dependency to 2.11.3 or later.
Is github.com/traefik/traefik/v3 affected?
Yes, github.com/traefik/traefik/v3 is affected in releases prior to 3.0.1. Upgrade your dependency to 3.0.1 or later.
What is the CVSS score of GHSA-f7cq-5v43-8pwp?
GHSA-f7cq-5v43-8pwp has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with GHSA-f7cq-5v43-8pwp?
GHSA-f7cq-5v43-8pwp is classified under CWE-1395: Dependency on Vulnerable Third-Party Component (The product has a dependency on a third-party component that contains one or more known vulnerabilities.).
How can I check Go dependencies for GHSA-f7cq-5v43-8pwp?
Run the dependency tree command: 'inspect dependencies for github.com/traefik/traefik/v2'. 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-f7cq-5v43-8pwp",
  "modified" : "2024-05-23T15:19:41Z",
  "published" : "2024-05-23T15:19:41Z",
  "aliases" : [ ],
  "summary" : "Traefik vulnerable to GO issue allowing malformed DNS message to cause infinite loop",
  "details" : "### Impact\n\nThere is a vulnerability in [GO managing malformed DNS message](https://groups.google.com/g/golang-announce/c/wkkO4P9stm0), which impacts Traefik.\nThis vulnerability could be exploited to cause a denial of service.\n\n### References\n\n- [CVE-2024-24788](https://www.cve.org/CVERecord?id=CVE-2024-24788)\n\n### Patches\n\n- https://github.com/traefik/traefik/releases/tag/v2.11.3\n- https://github.com/traefik/traefik/releases/tag/v3.0.1\n\n### Workarounds\n\nNo workaround.\n\n### For more information\n\nIf you have any questions or comments about this advisory, please [open an issue](https://github.com/traefik/traefik/issues).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/traefik/traefik/v2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.11.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/traefik/traefik/v3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.0.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/traefik/traefik"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.7.34"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/traefik/traefik/security/advisories/GHSA-f7cq-5v43-8pwp"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-5fq7-4mxc-535h"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/traefik/traefik"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/traefik/traefik/releases/tag/v2.11.3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/traefik/traefik/releases/tag/v3.0.1"
  }, {
    "type" : "WEB",
    "url" : "https://www.cve.org/CVERecord?id=CVE-2024-24788"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1395" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-23T15:19:41Z",
    "nvd_published_at" : null
  }
}