CVE-2024-22261: harbor
CVSS: 5.5v3.1MediumAnalyzed
AliasesGHSA-vw63-824v-qf2jBIT-harbor-2024-22261GO-2024-2916
Published 10-06-2024Last modified 01-08-2024
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 34.6% of scored vulnerabilities.
CVSS score
5.5/10
010
Medium · v3.1 (NVD)EPSS score
0.42%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
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 versionMedium 5.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:NSources3 sources · 2.7–5.5
- 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
35%
Versus all other CVEs
30-day change
0.00 pp
From 0.42% on 19-09-2026
19-09-202619-10-2026
EPSS score0.42%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
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 Command ('SQL Injection')The 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
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