From 8245f88c37790f47025e9af89c2f29b11fc1fb5a Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Thu, 14 Nov 2024 18:35:03 +0000 Subject: [PATCH] Publish Advisories GHSA-r864-28pw-8682 GHSA-r864-28pw-8682 --- .../GHSA-r864-28pw-8682.json | 99 +++++++++++++++++++ .../GHSA-r864-28pw-8682.json | 38 ------- 2 files changed, 99 insertions(+), 38 deletions(-) create mode 100644 advisories/github-reviewed/2024/11/GHSA-r864-28pw-8682/GHSA-r864-28pw-8682.json delete mode 100644 advisories/unreviewed/2024/11/GHSA-r864-28pw-8682/GHSA-r864-28pw-8682.json diff --git a/advisories/github-reviewed/2024/11/GHSA-r864-28pw-8682/GHSA-r864-28pw-8682.json b/advisories/github-reviewed/2024/11/GHSA-r864-28pw-8682/GHSA-r864-28pw-8682.json new file mode 100644 index 00000000000..59cecc916e5 --- /dev/null +++ b/advisories/github-reviewed/2024/11/GHSA-r864-28pw-8682/GHSA-r864-28pw-8682.json @@ -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" + } +} \ No newline at end of file diff --git a/advisories/unreviewed/2024/11/GHSA-r864-28pw-8682/GHSA-r864-28pw-8682.json b/advisories/unreviewed/2024/11/GHSA-r864-28pw-8682/GHSA-r864-28pw-8682.json deleted file mode 100644 index e340c5bc0cc..00000000000 --- a/advisories/unreviewed/2024/11/GHSA-r864-28pw-8682/GHSA-r864-28pw-8682.json +++ /dev/null @@ -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" - } -} \ No newline at end of file