VDB
Sign up
MEDIUM4.3

GO-2024-3013

Harbor fails to validate the user permissions when updating project configurations in github.com/goharbor/harbor

Quick fix

GO-2024-3013 — github.com/goharbor/harbor: upgrade to the fixed version with the command below.

go get github.com/goharbor/harbor@v2.9.5+incompatible

Details

Harbor fails to validate the user permissions when updating project configurations in github.com/goharbor/harbor

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/goharbor/harbor
Introduced in: 0Fixed in: 2.9.5+incompatible
Fixgo get github.com/goharbor/harbor@v2.9.5+incompatible

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/github.com/goharbor/harbor"]}'