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


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

    Threat Intelligence

    EPSS 0.08% (34th percentile)
Expand this section
NVD
4.3 medium

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 ID SNYK-GOLANG-GITHUBCOMGOHARBORHARBORSRCCOREAPI-1014644
  • published 1 Oct 2020
  • disclosed 1 Oct 2020
  • credit Hidde Smit from Cyber Eagle

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