CVE-2022-31670

Source
https://cve.org/CVERecord?id=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:17.040Z
Modified
2026-04-10T04:47:57.647572Z
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
Database specific
{
    "versions": [
        {
            "introduced": "1.0.0"
        },
        {
            "fixed": "1.10.13"
        },
        {
            "introduced": "2.0.0"
        },
        {
            "fixed": "2.4.3"
        },
        {
            "introduced": "2.5.0"
        },
        {
            "fixed": "2.5.2"
        }
    ]
}

Affected versions

0.*
0.1.0
0.1.1
0.3.0
0.3.5
0.3.5-rc
0.4.0
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.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-rc1
v1.2.0-rc2
v1.2.0-rc3
v1.2.0-rc4
v1.3.0-rc1
v1.4.0-rc1
v1.4.0-rc2
v1.7.0-rc1
v2.*
v2.0.0-rc1
v2.1.0-rc1
v2.1.0-tech-preview
v2.1.0-tech-prview
v2.2.0-rc1
v2.3.0-rc1
v2.3.0.-rc1
v2.4.0
v2.4.0-rc1
v2.4.0-rc2
v2.4.1
v2.4.1-rc1
v2.4.1-rc2
v2.4.2
v2.4.2-rc1
v2.5.0
v2.5.0-rc4
v2.5.1
v2.5.1-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31670.json"