CVE-2022-31669

Source
https://cve.org/CVERecord?id=CVE-2022-31669
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-31669.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-31669
Aliases
Published
2024-11-14T11:48:03Z
Modified
2026-08-12T03:30:09Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L CVSS Calculator
Summary
Harbor fails to validate the user permissions when updating tag immutability policies
Details

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

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

Database specific
{
    "cna_assigner":  "vmware",
    "cwe_ids":  [
        "CWE-285"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31669.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "introduced":  "Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1"
                },
                {
                    "last_affected":  "Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1"
                }
            ],
            "source":  "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/goharbor/harbor

Affected ranges

Type
GIT
Repo
https://github.com/goharbor/harbor
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "2.0.0"
        },
        {
            "fixed":  "2.4.3"
        },
        {
            "introduced":  "2.5.0"
        },
        {
            "fixed":  "2.5.2"
        }
    ],
    "source":  "CPE_RANGE"
}

Affected versions

v2.*
v2.5.0
v2.5.0-rc4
v2.5.1
v2.5.1-rc1

Database specific

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