Publish Advisories

GHSA-r864-28pw-8682
GHSA-r864-28pw-8682
This commit is contained in:
advisory-database[bot]
2024-11-14 18:35:03 +00:00
parent c9582479e9
commit 8245f88c37
2 changed files with 99 additions and 38 deletions
@@ -0,0 +1,99 @@
{
"schema_version": "1.4.0",
"id": "GHSA-r864-28pw-8682",
"modified": "2024-11-14T18:33:49Z",
"published": "2024-11-14T12:31:02Z",
"aliases": [
"CVE-2022-31668"
],
"summary": "Harbor fails to validate the user permissions when updating p2p preheat policies",
"details": "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.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L"
}
],
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/goharbor/harbor"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.4.3"
}
]
}
]
},
{
"package": {
"ecosystem": "Go",
"name": "github.com/goharbor/harbor"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.5.0"
},
{
"fixed": "2.5.2"
}
]
}
]
},
{
"package": {
"ecosystem": "Go",
"name": "github.com/goharbor/harbor/src"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.0.0-20220630175814-b4ef1db"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31668"
},
{
"type": "PACKAGE",
"url": "https://github.com/goharbor/harbor"
}
],
"database_specific": {
"cwe_ids": [
"CWE-285"
],
"severity": "HIGH",
"github_reviewed": true,
"github_reviewed_at": "2024-11-14T18:33:49Z",
"nvd_published_at": "2024-11-14T12:15:16Z"
}
}
@@ -1,38 +0,0 @@
{
"schema_version": "1.4.0",
"id": "GHSA-r864-28pw-8682",
"modified": "2024-11-14T12:31:02Z",
"published": "2024-11-14T12:31:02Z",
"aliases": [
"CVE-2022-31668"
],
"details": "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.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L"
}
],
"affected": [
],
"references": [
{
"type": "WEB",
"url": "https://github.com/goharbor/harbor/security/advisories/GHSA-3wpx-625q-22j7"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31668"
}
],
"database_specific": {
"cwe_ids": [
"CWE-285"
],
"severity": "HIGH",
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2024-11-14T12:15:16Z"
}
}