CVE-2022-31670

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-31670
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31670.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-31670
Aliases
Published
2024-11-14T12:15:17Z
Modified
2025-02-19T03:27:53.637685Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

Harbor fails to validate the user permissions when updating tag retention policies. 

By sending a request to update a tag retention policy with an id that belongs to a project that the currently authenticated user doesn’t have access to, the attacker could modify tag retention policies configured in other projects.

References

Affected packages

Git / github.com/goharbor/harbor

Affected ranges

Type
GIT
Repo
https://github.com/goharbor/harbor
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1.0
0.1.1
0.3.0
0.3.5
0.3.5-rc
0.4.0
0.4.0-rc
0.4.1
0.4.5
0.5.0
0.5.0-rc1
0.5.0-rc2

1.*

1.1.0-rc1
1.1.0-rc2

v1.*

v1.1.0
v1.1.0-rc3
v1.1.1
v1.1.1-rc1
v1.1.1-rc2
v1.1.1-rc3
v1.1.1-rc4
v1.1.2
v1.10.0
v1.10.0-rc1
v1.10.0-rc2
v1.10.1
v1.10.1-rc1
v1.10.10
v1.10.10-rc1
v1.10.11
v1.10.11-rc1
v1.10.12
v1.10.12-rc1
v1.10.2
v1.10.2-rc1
v1.10.3
v1.10.3-rc1
v1.10.3-rc2
v1.10.4
v1.10.4-rc1
v1.10.5
v1.10.5-rc1
v1.10.6
v1.10.6-rc1
v1.10.7
v1.10.7-rc1
v1.10.8
v1.10.8-rc1
v1.10.9
v1.2.0
v1.2.0-rc1
v1.2.0-rc2
v1.2.0-rc3
v1.2.0-rc4
v1.2.0-rc5
v1.3.0-rc1
v1.4.0-rc1
v1.4.0-rc2
v1.7.0-rc1