golang / vulndb

[mirror] The Go Vulnerability Database
Other
564 stars 61 forks source link

x/vulndb: potential Go vuln in github.com/goharbor/harbor: CVE-2022-31668 #3268

Open GoVulnBot opened 1 week ago

GoVulnBot commented 1 week ago

Advisory CVE-2022-31668 references a vulnerability in the following Go modules:

Module
github.com/goharbor/harbor

Description: Harbor fails to validate the user permissions when updating p2p preheat policies. By sending a request to update a p2p preheat policy with an id that belongs to a project that the currently authenticated user doesn't have access to, the attacker could modify p2p preheat policies configured in other projects.

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
      vulnerable_at: 2.12.0+incompatible
summary: CVE-2022-31668 in github.com/goharbor/harbor
cves:
    - CVE-2022-31668
references:
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-31668
    - web: https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7
source:
    id: CVE-2022-31668
    created: 2024-11-14T13:01:22.477854287Z
review_status: UNREVIEWED