CVE-2019-12452: Github.com/traefik/traefik Containous Traefik Exposes Password Hashes Vulnerability
HIGHCVE-2019-12452 is a HIGH (CVSS 7.5) containous traefik exposes password hashes vulnerability (CWE-522: Insufficiently Protected Credentials) affecting Github.com/traefik/traefik libraries in the Go ecosystem. The issue involves containous traefik exposes password hashes. Remediation is available by upgrading affected packages to version 1.7.12.
CVE-2019-12452 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.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2019-12452
To remediate this vulnerability, upgrade all affected Github.com/traefik/traefik 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 to 1.7.12
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
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-12452, inspect your project dependencies for Github.com/traefik/traefik:
inspect dependencies for github.com/traefik/traefik
Analyze the terminal output to locate any version of Github.com/traefik/traefik in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.12), 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-522: Insufficiently Protected Credentials, where the product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. In Github.com/traefik/traefik, 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-2019-12452 Affected Github.com/traefik/traefik Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/traefik/traefik
|
Go |
≥ 1.7.0
< 1.7.12
|
1.7.12
|
References
Frequently Asked Questions
What is CVE-2019-12452?
Which Github.com/traefik/traefik versions are affected?
What version fixes CVE-2019-12452?
Is github.com/traefik/traefik affected?
What is the CVSS score of CVE-2019-12452?
What CWE is associated with CVE-2019-12452?
How can I check Go dependencies for CVE-2019-12452?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r3fq-cmmw-cpmm",
"modified" : "2023-08-24T13:02:38Z",
"published" : "2022-05-24T16:46:50Z",
"aliases" : [ "CVE-2019-12452" ],
"summary" : "Containous Traefik Exposes Password Hashes",
"details" : "types/types.go in Containous Traefik 1.7.x through 1.7.11, when the `--api` flag is used and the API is publicly reachable and exposed without sufficient access control (which is contrary to the API documentation), allows remote authenticated users to discover password hashes by reading the Basic HTTP Authentication or Digest HTTP Authentication section, or discover a key by reading the ClientTLS section. These can be found in the JSON response to a `/api` request.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/traefik/traefik"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.7.0"
}, {
"fixed" : "1.7.12"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.7.11"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-12452"
}, {
"type" : "WEB",
"url" : "https://github.com/containous/traefik/issues/4917"
}, {
"type" : "WEB",
"url" : "https://github.com/containous/traefik/pull/4918"
}, {
"type" : "WEB",
"url" : "https://github.com/traefik/traefik/commit/a169fec2e08e391d24b509c00fcf011656c1395c"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/containous/traefik"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-522" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-14T19:46:49Z",
"nvd_published_at" : "2019-05-29T19:29:00Z"
}
}