MEDIUM6.5
GO-2023-2109
Harbor timing attack risk in github.com/goharbor/harbor
Quick fix
GO-2023-2109 — github.com/goharbor/harbor: upgrade to the fixed version with the command below.
go get github.com/goharbor/harbor@v1.10.18Details
Harbor timing attack risk 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: 1.10.18Fix
go get github.com/goharbor/harbor@v1.10.18References
- https://github.com/goharbor/harbor/security/advisories/GHSA-mq6f-5xh5-hgcf[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2023-20902[ADVISORY]
- https://github.com/goharbor/harbor/blob/aaea068cceb4063ab89313d9785f2b40f35b0d63/src/jobservice/api/authenticator.go#L69-L69[WEB]
- https://github.com/goharbor/harbor/releases/tag/v1.10.18[WEB]
- https://github.com/goharbor/harbor/releases/tag/v2.7.3[WEB]
- https://github.com/goharbor/harbor/releases/tag/v2.8.3[WEB]
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"]}'