Advisory

GO-2024-2916

Also known as: BIT-harbor-2024-22261, CVE-2024-22261, GHSA-vw63-824v-qf2j

Summary

SQL Injection in Harbor scan log API in github.com/goharbor/harbor

Details

SQL Injection in Harbor scan log API in github.com/goharbor/harbor

Severity

Not rated by the source.

Dates

Published
2024-06-14 13:41 UTC
Modified
2026-03-03 04:55 UTC

Affected packages and fixes

github.com/goharbor/harbor

Go · All systems

Affected

  • introduced 0, fixed 2.8.6+incompatible, introduced 2.9.0+incompatible, fixed 2.9.4+incompatible, introduced 2.10.0+incompatible, fixed 2.10.2+incompatible (semver)

Fixed versions

2.8.6+incompatible, 2.9.4+incompatible, 2.10.2+incompatible

Fix

  • Fixed version 2.8.6+incompatible
    go get github.com/goharbor/[email protected]+incompatible
  • Fixed version 2.9.4+incompatible
    go get github.com/goharbor/[email protected]+incompatible
  • Fixed version 2.10.2+incompatible
    go get github.com/goharbor/[email protected]+incompatible

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences