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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-31072— Octokit gem published with world-writable files

Quick assessment

Affected
octokit octokit.rb
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Octokit是GitHub API 的 Ruby 工具包。 Octokit 4.23.0 和 4.24.0 版本存在安全漏洞,该漏洞源于gem 包含的文件的权限设置存在问题,攻击者用该漏洞可以修改此 gem 中的全局可写文件。

CVSS 2.5 · Low EPSS 0.25% · P16

Possible ATT&CK Techniques 1 AI

T1222.002 · Linux and Mac Permissions
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-31072

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
Octokit gem published with world-writable files
Source: CVE Program / CVE List V5
Vulnerability Description
Octokit is a Ruby toolkit for the GitHub API. Versions 4.23.0 and 4.24.0 of the octokit gem were published containing world-writeable files. Specifically, the gem was packed with files having their permissions set to `-rw-rw-rw-` (i.e. 0666) instead of `rw-r--r--` (i.e. 0644). This means everyone who is not the owner (Group and Public) with access to the instance where this release had been installed could modify the world-writable files from this gem. This issue is patched in Octokit 4.25.0. Two workarounds are available. Users can use the previous version of the gem, v4.22.0. Alternatively, users can modify the file permissions manually until they are able to upgrade to the latest version.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
缺省权限不正确
Source: CVE Program / CVE List V5
Vulnerability Title
Octokit 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Octokit是GitHub API 的 Ruby 工具包。 Octokit 4.23.0 和 4.24.0 版本存在安全漏洞,该漏洞源于gem 包含的文件的权限设置存在问题,攻击者用该漏洞可以修改此 gem 中的全局可写文件。
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
octokit octokit.rb >= 4.23.0, < 4.25.0 -

II. Public POCs for CVE-2022-31072

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-31072

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

Patches & Fixes for CVE-2022-31072 (1)

Vendor Advisories for CVE-2022-31072 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-31072

No comments yet


Leave a comment