GHSA-3wqc-mwfx-672p: Github.com/traefik/traefik/v3 Traefik Affected By Go Oauth2/jws Vulnerability

HIGH
CVSS 7.5
CWE-1286
Published
Advisory Summary

GHSA-3wqc-mwfx-672p is a HIGH (CVSS 7.5) traefik affected by go oauth2/jws vulnerability (CWE-1286: Improper Validation of Syntactic Correctness of Input) affecting Github.com/traefik/traefik/v3 libraries in the Go ecosystem. The issue involves traefik affected by go oauth2/jws improper validation of syntactic correctness of input vulnerability. Remediation is available by upgrading affected packages to version 3.3.6, 2.11.24, 3.4.0-rc2.

GHSA-3wqc-mwfx-672p at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-3wqc-mwfx-672p
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-1286: Improper Validation of Syntactic Correctness of Input
Affected Product Github.com/traefik/traefik/v3
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.1/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 GHSA-3wqc-mwfx-672p

To remediate this vulnerability, upgrade all affected Github.com/traefik/traefik/v3 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/v3 fixed: 3.3.6
Upgrade github.com/traefik/traefik/v3 to 3.3.6
github.com/traefik/traefik/v2 fixed: 2.11.24
Upgrade github.com/traefik/traefik/v2 to 2.11.24
github.com/traefik/traefik/v3 fixed: 3.4.0-rc2
Upgrade github.com/traefik/traefik/v3 to 3.4.0-rc2
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/v3

How to Check if You Are Affected

To determine whether your application is affected by GHSA-3wqc-mwfx-672p, inspect your project dependencies for Github.com/traefik/traefik/v3:

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

Analyze the terminal output to locate any version of Github.com/traefik/traefik/v3 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.6), 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-1286: Improper Validation of Syntactic Correctness of Input, where the product receives input that is expected to be well-formed - i.e., to comply with a certain syntax - but it does not validate or incorrectly validates that the input complies with the syntax. In Github.com/traefik/traefik/v3, 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

### Summary We have encountered a security vulnerability being reported by our scanners for Traefik 2.11.22. - https://security.snyk.io/vuln/SNYK-CHAINGUARDLATEST-TRAEFIK33-9403297 ### Details It seems to target oauth2/jws library. ### PoC No steps to replicate this vulnerability ### Impact We have a strict control on security and we always try to stay up-to-date with the fixes received for third-party solutions. ## Patches - https://github.com/traefik/traefik/releases/tag/v2.11.24 - https://github.com/traefik/traefik/releases/tag/v3.3.6 - https://github.com/traefik/traefik/releases/tag/v3.4.0-rc2

GHSA-3wqc-mwfx-672p Affected Github.com/traefik/traefik/v3 Versions

3 component(s)
Fixed Versions:
3.3.62.11.243.4.0-rc2
Product / Package Ecosystem Affected Versions Fixed Version
github.com/traefik/traefik/v3
Go
< 3.3.6
3.3.6
github.com/traefik/traefik/v2
Go
< 2.11.24
2.11.24
github.com/traefik/traefik/v3
Go
≥ 3.4.0-rc1
< 3.4.0-rc2
All 1 versions
3.4.0-rc1
3.4.0-rc2

References

Frequently Asked Questions

What is GHSA-3wqc-mwfx-672p?
GHSA-3wqc-mwfx-672p is a security vulnerability in Github.com/traefik/traefik/v3 involving Traefik affected by Go oauth2/jws Improper Validation of Syntactic Correctness of Input vulnerability under CWE-1286: Improper Validation of Syntactic Correctness of Input.
Which Github.com/traefik/traefik/v3 versions are affected?
Affected versions include releases prior to 3.3.6, 2.11.24, 3.4.0-rc2 across affected packages: github.com/traefik/traefik/v3, github.com/traefik/traefik/v2.
What version fixes GHSA-3wqc-mwfx-672p?
Upgrading to 3.3.6, 2.11.24, 3.4.0-rc2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/traefik/traefik/v3 affected?
Yes, github.com/traefik/traefik/v3 is affected in releases prior to 3.3.6, 3.4.0-rc2. Upgrade your dependency to 3.3.6, 3.4.0-rc2 or later.
Is github.com/traefik/traefik/v2 affected?
Yes, github.com/traefik/traefik/v2 is affected in releases prior to 2.11.24. Upgrade your dependency to 2.11.24 or later.
What is the CVSS score of GHSA-3wqc-mwfx-672p?
GHSA-3wqc-mwfx-672p has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with GHSA-3wqc-mwfx-672p?
GHSA-3wqc-mwfx-672p is classified under CWE-1286: Improper Validation of Syntactic Correctness of Input (The product receives input that is expected to be well-formed - i.e., to comply with a certain syntax - but it does not validate or incorrectly validates that the input complies with the syntax.).
How can I check Go dependencies for GHSA-3wqc-mwfx-672p?
Run the dependency tree command: 'inspect dependencies for github.com/traefik/traefik/v3'. 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-3wqc-mwfx-672p",
  "modified" : "2025-07-17T21:10:43Z",
  "published" : "2025-04-18T19:32:23Z",
  "aliases" : [ ],
  "summary" : "Traefik affected by Go oauth2/jws Improper Validation of Syntactic Correctness of Input vulnerability",
  "details" : "### Summary\nWe have encountered a security vulnerability being reported by our scanners for Traefik 2.11.22.\n- https://security.snyk.io/vuln/SNYK-CHAINGUARDLATEST-TRAEFIK33-9403297\n\n### Details\nIt seems to target oauth2/jws library.\n\n### PoC\nNo steps to replicate this vulnerability\n\n### Impact\nWe have a strict control on security and we always try to stay up-to-date with the fixes received for third-party solutions.\n\n## Patches\n\n- https://github.com/traefik/traefik/releases/tag/v2.11.24\n- https://github.com/traefik/traefik/releases/tag/v3.3.6\n- https://github.com/traefik/traefik/releases/tag/v3.4.0-rc2",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/traefik/traefik/v3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.3.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/traefik/traefik/v2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.11.24"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/traefik/traefik/v3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.4.0-rc1"
      }, {
        "fixed" : "3.4.0-rc2"
      } ]
    } ],
    "versions" : [ "3.4.0-rc1" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/traefik/traefik/security/advisories/GHSA-3wqc-mwfx-672p"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/traefik/traefik"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/traefik/traefik/releases/tag/v2.11.24"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/traefik/traefik/releases/tag/v3.3.6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/traefik/traefik/releases/tag/v3.4.0-rc2"
  }, {
    "type" : "WEB",
    "url" : "https://security.snyk.io/vuln/SNYK-CHAINGUARDLATEST-TRAEFIK33-9403297"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1286" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-18T19:32:23Z",
    "nvd_published_at" : "2025-02-26T08:14:24Z"
  }
}