CVE-2022-39271: Github.com/traefik/traefik/v2 Denial of Service Vulnerability
HIGHCVE-2022-39271 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-755: Improper Handling of Exceptional Conditions) affecting Github.com/traefik/traefik/v2 libraries in the Go ecosystem. The issue involves traefik http/2 connections management could cause a denial of service. Remediation is available by upgrading affected packages to version 2.8.8, 2.9.0-rc5.
CVE-2022-39271 at a Glance
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).
How to Fix CVE-2022-39271
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.
Upgrade github.com/traefik/traefik/v2 to 2.8.8
Upgrade github.com/traefik/traefik/v2 to 2.9.0-rc5
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 CVE-2022-39271, 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.8.8), 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-755: Improper Handling of Exceptional Conditions, where the product does not handle or incorrectly handles an exceptional condition. 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
CVE-2022-39271 Affected Github.com/traefik/traefik/v2 Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/traefik/traefik/v2
|
Go |
< 2.8.8
|
2.8.8
|
|
github.com/traefik/traefik/v2
|
Go |
≥ 2.9.0-rc1
< 2.9.0-rc5
|
2.9.0-rc5
|
References
Frequently Asked Questions
What is CVE-2022-39271?
Which Github.com/traefik/traefik/v2 versions are affected?
What version fixes CVE-2022-39271?
Is github.com/traefik/traefik/v2 affected?
What is the CVSS score of CVE-2022-39271?
What CWE is associated with CVE-2022-39271?
How can I check Go dependencies for CVE-2022-39271?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c6hx-pjc3-7fqr",
"modified" : "2022-10-13T20:08:57Z",
"published" : "2022-10-10T21:23:30Z",
"aliases" : [ "CVE-2022-39271" ],
"summary" : "Traefik HTTP/2 connections management could cause a denial of service",
"details" : "### Impact\n\nThere is a potential vulnerability in Traefik managing HTTP/2 connections.\nA closing HTTP/2 server connection could hang forever because of a subsequent fatal error. This failure mode could be exploited to cause a denial of service.\n\n### Patches\n\nTraefik v2.8.x: https://github.com/traefik/traefik/releases/tag/v2.8.8\nTraefik v2.9.x: https://github.com/traefik/traefik/releases/tag/v2.9.0-rc5\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).\n",
"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/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.8.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/traefik/traefik/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.9.0-rc1"
}, {
"fixed" : "2.9.0-rc5"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/traefik/traefik/security/advisories/GHSA-c6hx-pjc3-7fqr"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-39271"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/traefik/traefik"
}, {
"type" : "WEB",
"url" : "https://github.com/traefik/traefik/releases/tag/v2.8.8"
}, {
"type" : "WEB",
"url" : "https://github.com/traefik/traefik/releases/tag/v2.9.0-rc5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400", "CWE-755" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-10-10T21:23:30Z",
"nvd_published_at" : "2022-10-11T14:15:00Z"
}
}