CVE-2024-29296: Github.com/portainer/portainer Portainer CE Allows Username Enumeration Vulnerability
MODERATECVE-2024-29296 is a MODERATE (CVSS 5.3) portainer ce allows username enumeration vulnerability (CWE-286: Incorrect User Management) affecting Github.com/portainer/portainer libraries in the Go ecosystem. The issue involves portainer ce allows username enumeration through authentication response timing. Remediation is available by upgrading affected packages to version 0.6.1-0.20240417040827-48bc7d0d92f0.
CVE-2024-29296 at a Glance
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:L/I:N/A:N).
How to Fix CVE-2024-29296
To remediate this vulnerability, upgrade all affected Github.com/portainer/portainer 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/portainer/portainer to 0.6.1-0.20240417040827-48bc7d0d92f0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/portainer/portainer
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-29296, inspect your project dependencies for Github.com/portainer/portainer:
inspect dependencies for github.com/portainer/portainer
Analyze the terminal output to locate any version of Github.com/portainer/portainer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.1-0.20240417040827-48bc7d0d92f0), 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-286: Incorrect User Management, where the product does not properly manage a user within its environment. In Github.com/portainer/portainer, 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-2024-29296 Affected Github.com/portainer/portainer Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/portainer/portainer
|
Go |
< 0.6.1-0.20240417040827-48bc7d0d92f0
|
0.6.1-0.20240417040827-48bc7d0d92f0
|
References
Frequently Asked Questions
What is CVE-2024-29296?
Which Github.com/portainer/portainer versions are affected?
What version fixes CVE-2024-29296?
Is github.com/portainer/portainer affected?
What is the CVSS score of CVE-2024-29296?
What CWE is associated with CVE-2024-29296?
How can I check Go dependencies for CVE-2024-29296?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-87x6-8m9v-g8c2",
"modified" : "2026-09-30T23:23:52Z",
"published" : "2024-04-10T15:30:40Z",
"aliases" : [ "CVE-2024-29296" ],
"summary" : "Portainer CE allows username enumeration through authentication response timing",
"details" : "A user enumeration vulnerability was found in Portainer CE 2.19.4. This issue occurs during user authentication process, where a difference in response time could allow a remote unauthenticated user to determine if a username is valid or not.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/portainer/portainer"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.6.1-0.20240417040827-48bc7d0d92f0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-29296"
}, {
"type" : "WEB",
"url" : "https://github.com/portainer/portainer/issues/11736"
}, {
"type" : "WEB",
"url" : "https://github.com/portainer/portainer/pull/11589"
}, {
"type" : "WEB",
"url" : "https://github.com/portainer/portainer/commit/48bc7d0d92f038e04a72c1e0585bc325eb63a9e6"
}, {
"type" : "WEB",
"url" : "https://github.com/ThaySolis/CVE-2024-29296"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/portainer/portainer"
}, {
"type" : "WEB",
"url" : "https://github.com/portainer/portainer/releases/tag/2.19.5"
}, {
"type" : "WEB",
"url" : "https://github.com/portainer/portainer/releases/tag/2.20.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-286" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-30T23:23:52Z",
"nvd_published_at" : "2024-04-10T15:16:05Z"
}
}