4.3medium
Authenticated users can exploit an enumeration vulnerability in Harbor
- Severity
- 4.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.27% (higher than 70% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-q9p8-33wc-h432BIT-HARBOR-2020-13794GO-2022-0865
Description
Harbor 1.9.* 1.10.* and 2.0.* allows Exposure of Sensitive Information to an Unauthorized Actor.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/goharbor/harbor (Go) | before 2.0.3, before 2.0.3+incompatible | GitHub Advisory Database, Go Vulnerability Database |
| linuxfoundation harbor | from 1.9.0 before 2.0.3 | NVD |
| harbor (Bitnami) | from 1.9.0 before 2.0.3 | Bitnami Vulnerability Database |
All scores
| GitHub | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
Harbor 1.9.* 1.10.* and 2.0.* allows Exposure of Sensitive Information to an Unauthorized Actor.
GitHub Advisory Database
Impact
Hidde Smit from Cyber Eagle has discovered an User Enumeration flaw in Harbor. The issue is present in the "/users" api endpoint. This endpoint is supposed to be restricted to administrators. This restriction is able to be bypassed and information can be obtained via the "search" functionality.
Non-administrator users (such as those created via self-registration) can list all usernames and user IDs by sending a GET request to /api/users/search with parameter "username" and value "_", as follows:
curl -X GET "https://<host>/api/users/search?username=_" -H "accept: application/json" --user <user>:<password>
The vulnerability was immediately fixed by the Harbor team and all supported versions were patched. With the patched versions of Harbor, the username is required for search and we have removed the support for querying by email.
Patches
If your product uses the affected releases of Harbor, update to either version 2.1.0 or 2.0.3 to fix this issue immediately
https://github.com/goharbor/harbor/releases/tag/v2.1.0 https://github.com/goharbor/harbor/releases/tag/v2.0.3
Workarounds
There is no workaround for this issue
For more information
If you have any questions or comments about this advisory, contact cncf-harbor-security@lists.cncf.io View our security policy at https://github.com/goharbor/harbor/security/policy https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13794
Go Vulnerability Database
Authenticated users can exploit an enumeration vulnerability in Harbor in github.com/goharbor/harbor
NVD (es)
Harbour versiones 1.9.* 1.10.* Y 2.0.*, permite una Exposición de Información Confidencial hacia un actor no autorizado
References
| https://github.com/goharbor/harbor/releases | advisory, release-notes, third-party-advisory, web | |
| https://github.com/goharbor/harbor/security/advisories/GHSA-q9p8-33wc-h432 | advisory, exploit, patch, third-party-advisory, web | |
| https://www.cybereagle.io/blog/cve-2020-13794/ | advisory, exploit, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-13794 | advisory, web | |
| https://github.com/goharbor/harbor | package | |
| https://github.com/goharbor/harbor/releases/tag/v2.0.3 | web | |
| https://github.com/goharbor/harbor/releases/tag/v2.1.0 | web | |
| https://www.cybereagle.io/blog/cve-2020-13794 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-13794 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-q9p8-33wc-h432 changed 2026-07-08 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0865 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2020-13794 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-HARBOR-2020-13794 changed 2026-09-08 | Apache-2.0 |