CVE-2024-22261: SQL Injection in Harbor scan log API
Vulnerability summary
CVE-2024-22261 is a medium (CVSS 5.5) vulnerability in harbor. EPSS estimates a 0.42% chance of exploitation in the next 30 days, higher than 38% of scored vulnerabilities.
Not severe (CVSS 2.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 10-06-2024PublishedVulnerability first disclosed.
- 01-08-2024Last modifiedVulnerability information updated.
Description
SQL-Injection in Harbor allows priviledge users to leak the task IDs
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA2.7LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:NDiffers
- OSV · GoEcosystem advisory · calculated2.7LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:NDiffers
EPSS trend
Probability
0.42%
Chance of exploitation in the next 30 days
Percentile
38%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.42% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-566Authorization Bypass Through User-Controlled SQL Primary KeyThe product uses a database table that includes records that should not be accessible to an actor, but it executes a SQL statement with a primary key that can be controlled by that actor.
- CWE-89Improper Neutralization of Special Elements used in an SQL CommandThe product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Affected systems
Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Github.com/goharbor1 product
- harbor< 2.8.6 | ≥ 2.9.0, < 2.9.4 | ≥ 2.10.0, < 2.10.2 | ≥ 2.10.0+incompatible, < 2.10.2+incompatible
Harbor1 product
- harbor≥ 2.8.1, ≤ 2.8.5 | ≥ 2.9.0, ≤ 2.9.3 | ≥ 2.10.0, ≤ 2.10.1
Linuxfoundation1 product
- harbor≥ 2.8.1, < 2.8.6 | ≥ 2.9.0, < 2.9.4 | ≥ 2.10.0, < 2.10.2
3 vendors · 3 products
References
4 links- github.com/goharbor/harborPACKAGE