CVE-2023-47124: Github.com/traefik/traefik/v2 Denial of Service Vulnerability
MODERATECVE-2023-47124 is a MODERATE (CVSS 5.9) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Github.com/traefik/traefik/v2 libraries in the Go ecosystem. The issue involves traefik vulnerable to potential ddos via acme httpchallenge. Remediation is available by upgrading affected packages to version 2.10.6, 3.0.0-beta5.
CVE-2023-47124 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2023-47124
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.10.6
Upgrade github.com/traefik/traefik/v3 to 3.0.0-beta5
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-2023-47124, 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.10.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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. 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-2023-47124 Affected Github.com/traefik/traefik/v2 Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/traefik/traefik/v2
|
Go |
< 2.10.6
|
2.10.6
|
|
github.com/traefik/traefik/v3
|
Go |
< 3.0.0-beta5
|
3.0.0-beta5
|
References
Frequently Asked Questions
What is CVE-2023-47124?
Which Github.com/traefik/traefik/v2 versions are affected?
What version fixes CVE-2023-47124?
Is github.com/traefik/traefik/v2 affected?
Is github.com/traefik/traefik/v3 affected?
What is the CVSS score of CVE-2023-47124?
What CWE is associated with CVE-2023-47124?
How can I check Go dependencies for CVE-2023-47124?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8g85-whqh-cr2f",
"modified" : "2024-11-19T16:25:35Z",
"published" : "2023-12-05T18:12:37Z",
"aliases" : [ "CVE-2023-47124" ],
"summary" : "Traefik vulnerable to potential DDoS via ACME HTTPChallenge",
"details" : "## Impact\n\nThere is a potential vulnerability in Traefik managing the ACME HTTP challenge.\n\nWhen Traefik is configured to use the [HTTPChallenge](https://doc.traefik.io/traefik/https/acme/#httpchallenge) to generate and renew the Let's Encrypt TLS certificates, the delay authorized to solve the challenge (50 seconds) can be exploited by attackers ([slowloris attack](https://www.cloudflare.com/learning/ddos/ddos-attack-tools/slowloris/)).\n \n## Patches\n\n- https://github.com/traefik/traefik/releases/tag/v2.10.6\n- https://github.com/traefik/traefik/releases/tag/v3.0.0-beta5\n\n## Workarounds\n\nReplace the HTTPChallenge with the [TLSChallenge](https://doc.traefik.io/traefik/https/acme/#tlschallenge) or the [DNSChallenge](https://doc.traefik.io/traefik/https/acme/#dnschallenge).\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:H/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.10.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/traefik/traefik/v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.0.0-beta5"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/traefik/traefik/security/advisories/GHSA-8g85-whqh-cr2f"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-47124"
}, {
"type" : "WEB",
"url" : "https://doc.traefik.io/traefik/https/acme/#dnschallenge"
}, {
"type" : "WEB",
"url" : "https://doc.traefik.io/traefik/https/acme/#httpchallenge"
}, {
"type" : "WEB",
"url" : "https://doc.traefik.io/traefik/https/acme/#tlschallenge"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/traefik/traefik"
}, {
"type" : "WEB",
"url" : "https://github.com/traefik/traefik/releases/tag/v2.10.6"
}, {
"type" : "WEB",
"url" : "https://github.com/traefik/traefik/releases/tag/v3.0.0-beta5"
}, {
"type" : "WEB",
"url" : "https://www.cloudflare.com/learning/ddos/ddos-attack-tools/slowloris"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400", "CWE-772" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-12-05T18:12:37Z",
"nvd_published_at" : "2023-12-04T21:15:33Z"
}
}