Information Exposure Affecting github.com/goharbor/harbor/src/core/api package, versions >=1.9.0 <2.0.3>2.0.3 <2.1.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Information Exposure vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOHARBORHARBORSRCCOREAPI-1014644
  • published1 Oct 2020
  • disclosed1 Oct 2020
  • creditHidde Smit from Cyber Eagle

Introduced: 1 Oct 2020

CVE-2020-13794  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade github.com/goharbor/harbor/src/core/api to version 2.0.3, 2.1.0 or higher.

Overview

github.com/goharbor/harbor/src/core/api is a cloud native registry project that stores, signs, and scans content.

Affected versions of this package are vulnerable to Information Exposure. 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>

References

CVSS Base Scores

version 3.1