High
User permission validation failure and disclosure of P2P preheat execution logs
Type: advisorySources: OSV
Harbor fails to validate the user permissions when updating p2p preheat policies. By sending a request to update a p2p preheat policy with an id that belongs to a project that the currently authenticated user doesn't have access to, the attacker could modify p2p preheat policies configured in other projects.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-31668
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 17:51 UTC · Revision 1
Source evidence
User permission validation failure and disclosure of P2P preheat execution logs
core-osv · Original sourcePublished 14 Nov 2024, 11:56 UTC
Harbor fails to validate the user permissions when updating p2p preheat policies. By sending a request to update a p2p preheat policy with an id that belongs to a project that the currently authenticated user doesn't have access to, the attacker could modify p2p preheat policies configured in other projects.
osv:CVE-2022-31668
Complete source record
{
"id": "b94a1f82670a049c49c9a7ccc35321735d5bd04e813a6021c1048ad88c84b488",
"url": "https://osv.dev/vulnerability/CVE-2022-31668",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "User permission validation failure and disclosure of P2P preheat execution logs",
"summary": "Harbor fails to validate the user permissions when updating p2p preheat policies. By sending a request to update a p2p preheat policy with an id that belongs to a project that the currently authenticated user doesn't have access to, the attacker could modify p2p preheat policies configured in other projects.",
"evidence": "osv:CVE-2022-31668",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2022-31668",
"aliases": [
"BIT-harbor-2022-31668",
"CVE-2022-31668",
"GHSA-3wpx-625q-22j7",
"GHSA-r864-28pw-8682",
"GO-2024-3268"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/goharbor/harbor",
"type": "GIT",
"events": [
{
"introduced": "d0f3ddddab96f25b7c2de18e7aebf8f79c7b19cc"
},
{
"fixed": "85ef1409cba206582b1b6947c888bdbe6d5747d3"
},
{
"introduced": "98e1b82fbfcc0f1ab9673e0911ae937e6a6fca36"
},
{
"fixed": "66882717920d0337f17a43d5450b6227ca98047e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.4.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:linuxfoundation:harbor:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.5.0"
},
{
"fixed": "2.5.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.5.1-rc1",
"v2.5.1",
"v2.5.0-rc4",
"v2.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31668.json"
}
}
],
"modified": "2026-10-28T02:30:30.982855257Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31668.json",
"https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7",
"https://nvd.nist.gov/vuln/detail/CVE-2022-31668"
],
"provider_metadata": {
"cwe_ids": [
"CWE-285"
],
"cna_assigner": "vmware",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"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",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31668.json"
}
},
"related_cves": [
{
"value": "CVE-2022-31668",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 498016,
"published_at": "2024-11-14T11:56:31.043+00:00"
}