Loading advisory.
Loading advisory.
Harbor timing attack risk
In the Harbor jobservice container, the comparison of secrets in the authenticator type is prone to timing attacks.
Published 2023-10-10 21:29 UTC · Modified 2026-07-08 06:53 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/goharbor/harbor | Go | < 1.10.18 >= 2.0.0, < 2.7.3 >= 2.8.0, < 2.8.3 >= 2.0.0+incompatible, < 2.7.3+incompatible >= 2.8.0+incompatible, < 2.8.3+incompatible | 1.10.18, 2.7.3, 2.8.3, 2.7.3+incompatible, 2.8.3+incompatible | go get github.com/goharbor/harbor@v1.10.18go get github.com/goharbor/harbor@v2.7.3go get github.com/goharbor/harbor@v2.8.3go get github.com/goharbor/harbor@v2.7.3+incompatiblego get github.com/goharbor/harbor@v2.8.3+incompatible |
In the Harbor jobservice container, the comparison of secrets in the authenticator type is prone to timing attacks. The vulnerability occurs due to the following code: https://github.com/goharbor/harbor/blob/aaea068cceb4063ab89313d9785f2b40f35b0d63/src/jobservice/api/authenticator.go#L69-L69 To avoid this issue, constant time comparison should be used.
subtle.ConstantTimeCompare([]byte(expectedSecret), []byte(secret)) == 0This attack might be possible theoretically, but no workable proof of concept is available, and access complexity is set at High. The jobservice exposes these APIs
Create a job task --- POST /api/v1/jobs
Get job task information --- GET /api/v1/jobs/{job_id}
Stop job task --- POST /api/v1/jobs/{job_id}
Get job log task --- GET /api/v1/jobs/{job_id}/log
Get job execution --- GET /api/v1/jobs/{job_id}/executions
Get job stats --- GET /api/v1/stats
Get job service configuration --- GET /api/v1/configIt is used to create jobs/stop job tasks and retrieve job task information. If an attacker obtains the secrets, it is possible to retrieve the job information, create a job, or stop a job task.
The following versions of Harbor are involved: <=Harbor 2.8.2, <=Harbor 2.7.2, <= Harbor 2.6.x, <=Harbor 1.10.17
Harbor 2.8.3, Harbor 2.7.3, Harbor 1.10.18
Because the jobservice only exposes HTTP service to harbor-core containers, blocking any inbound traffic from the external network to the jobservice container can reduce the risk.
Thanks to Porcupiney Hairs for reporting this issue.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.005 on 2026-11-24 to 0.004 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.005 | first score | v2026.06.15 |
| 2026-11-26 | 0.004 | 0.005 | v2026.06.15 |