Skip to content
Fencer Vulns
low 2.7

CVE-2024-22261 json

SQL Injection in Harbor scan log API

published 2024-06-02 2 y ago modified 2026-09-08 2 mo ago also BIT-harbor-2024-22261 , EUVD-2024-2184 , GHSA-vw63-824v-qf2j , GO-2024-2916

cvss
2.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 36%
public exploits
0
none known

Summary

SQL-Injection in Harbor allows priviledge users to leak the task IDs

Patch / fix

  • go github.com/goharbor/harbor 2.8.6, 2.8.6+incompatible, 2.9.4, 2.9.4+incompatible, 2.10.2, 2.10.2+incompatible
  • bitnami harbor 2.8.6, 2.9.4, 2.10.2
  • linuxfoundation harbor 2.8.6, 2.9.4, 2.10.2

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 2.7 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
GitHub 3.1 2.7 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
NVD 3.1 5.5 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N
OSV 3.1 5.5 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N

Affected packages

ecosystem package affected fixed in
go github.com/goharbor/harbor
<2.8.6
>=2.9.0, <2.9.4
>=2.10.0, <2.10.2
<2.8.6+incompatible
>=2.9.0+incompatible, <2.9.4+incompatible
>=2.10.0+incompatible, <2.10.2+incompatible
2.8.6
2.9.4
2.10.2
2.8.6+incompatible
2.9.4+incompatible
2.10.2+incompatible
bitnami harbor
>=2.8.1, <2.8.6
>=2.9.0, <2.9.4
>=2.10.0, <2.10.2
2.8.6
2.9.4
2.10.2

Affected products

  • Harbor Harbor

Classification

Weakness
  • CWE-566 Authorization Bypass Through User-Controlled SQL Primary Key
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.