Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-31670— Harbor fails to validate the user permissions when updating tag retention policies

Quick assessment

Affected
n/a Harbor
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Harbor是Harbor开源的一个开源注册表。通过策略和基于角色的访问控制来保护工件,确保图像被扫描并且没有漏洞,并将图像签名为可信的。 Harbor存在授权问题漏洞,该漏洞源于在更新标签保留策略时未能验证用户权限,导致攻击者可以修改在其他项目中配置的标签保留策略。

CVSS 7.7 · High EPSS 0.55% · P44

Possible ATT&CK Techniques 1 AI

T1484.002 · Trust Modification
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-31670

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Harbor fails to validate the user permissions when updating tag retention policies
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Harbor 授权问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Harbor是Harbor开源的一个开源注册表。通过策略和基于角色的访问控制来保护工件,确保图像被扫描并且没有漏洞,并将图像签名为可信的。 Harbor存在授权问题漏洞,该漏洞源于在更新标签保留策略时未能验证用户权限,导致攻击者可以修改在其他项目中配置的标签保留策略。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
- Harbor Harbor (Go) 2.x<=2.4.2; 2.5<=2.5.1 -

II. Public POCs for CVE-2022-31670

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Qwen3.6-35B-A3B · 15648 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2022-31670

请登录查看更多情报信息。

Same Patch Batch · n/a · 2024-11-14 · 46 CVEs total

CVE-2024-10979 8.8 HIGH PostgreSQL PL/Perl environment variable changes execute arbitrary code
CVE-2022-31666 7.7 HIGH Harbor fails to validate user permissions while Viewing, updating and deleting Webhook pol
CVE-2022-31671 7.4 HIGH Harbor fails to validate the user permissions when reading and updating job execution logs
CVE-2022-31668 7.4 HIGH User permission validation failure and disclosure of P2P preheat execution logs
CVE-2022-31669 6.4 MEDIUM Harbor fails to validate the user permissions when updating tag immutability policies
CVE-2022-31667 6.4 MEDIUM Harbor fails to validate the user permissions when updating a robot account
CVE-2024-11210 5.4 MEDIUM EyouCMS FilemanagerLogic.php editFile path traversal
CVE-2024-11211 4.7 MEDIUM EyouCMS Website Logo unrestricted upload
CVE-2024-10976 4.2 MEDIUM PostgreSQL row security below e.g. subqueries disregards user ID changes
CVE-2024-10978 4.2 MEDIUM PostgreSQL SET ROLE, SET SESSION AUTHORIZATION reset to wrong user ID
CVE-2024-10977 3.1 LOW PostgreSQL libpq retains an error message from man-in-the-middle
CVE-2024-50827 Kashipara E-learning Management System 安全漏洞
CVE-2024-50835 Kashipara E-learning Management System 安全漏洞
CVE-2024-50824 Kashipara E-learning Management System 安全漏洞
CVE-2024-50833 Kashipara E-learning Management System 安全漏洞
CVE-2024-50830 Kashipara E-learning Management System 安全漏洞
CVE-2024-40579 Virtuozzo Hybrid Server For WHMCS 安全漏洞
CVE-2024-52613 tsMuxer 安全漏洞
CVE-2024-50836 Kashipara E-learning Management System 安全漏洞
CVE-2024-50825 Kashipara E-learning Management System 安全漏洞

Showing top 20 of 46 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2022-31670

No comments yet


Leave a comment