Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/goharbor/harbor: GHSA-hw28-333w-qxp3,CVE-2024-22278 #23

Open
tatianab opened this issue Jul 31, 2024 · 0 comments

Comments

@tatianab
Copy link
Owner

Advisory GHSA-hw28-333w-qxp3 references a vulnerability in the following Go modules:

Module
github.com/goharbor/harbor

Description:

Impact

Harbor fails to validate the maintainer role permissions when creating/updating/deleting project configurations - API call:

  • PUT /projects/{project_name_or_id}/metadatas/{meta_name}
  • POST /projects/{project_name_or_id}/metadatas/{meta_name}
  • DELETE /projects/{project_name_or_id}/metadatas/{meta_name}

By sending a request to create/update/delete a metadata with an name that belongs to a project that the currently authenticated and granted to the maintainer role user doesn’t have access to, the attacker could modify configurations in the current project.

BTW: the maintainer ro...

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/goharbor/harbor
      versions:
        - fixed: 2.9.5+incompatible
        - introduced: 2.10.0+incompatible
        - fixed: 2.10.3+incompatible
      vulnerable_at: 2.10.3-rc1+incompatible
summary: |-
    Harbor fails to validate the user permissions when updating project
    configurations in github.com/goharbor/harbor
cves:
    - CVE-2024-22278
ghsas:
    - GHSA-hw28-333w-qxp3
references:
    - advisory: https://github.com/goharbor/harbor/security/advisories/GHSA-hw28-333w-qxp3
source:
    id: GHSA-hw28-333w-qxp3
    created: 2024-07-31T18:19:09.235133-04:00
review_status: UNREVIEWED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant