CVE-2022-31072
Octokit World-Writable File Permissions 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.
INFO
Published Date :
June 15, 2022, 11:15 p.m.
Last Modified :
June 27, 2022, 6:20 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
1.4
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-31072
.
URL | Resource |
---|---|
https://github.com/octokit/octokit.rb/commit/1c8edecc9cf23d1ceb959d91a416a69f55ce7d55 | Patch Third Party Advisory |
https://github.com/octokit/octokit.rb/security/advisories/GHSA-g28x-pgr3-qqx6 | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-31072
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-31072
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Jun. 27, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:N/I:P/A:N) Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N Changed Reference Type https://github.com/octokit/octokit.rb/commit/1c8edecc9cf23d1ceb959d91a416a69f55ce7d55 No Types Assigned https://github.com/octokit/octokit.rb/commit/1c8edecc9cf23d1ceb959d91a416a69f55ce7d55 Patch, Third Party Advisory Changed Reference Type https://github.com/octokit/octokit.rb/security/advisories/GHSA-g28x-pgr3-qqx6 No Types Assigned https://github.com/octokit/octokit.rb/security/advisories/GHSA-g28x-pgr3-qqx6 Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:octokit_project:octokit:4.23.0:*:*:*:*:ruby:*:* *cpe:2.3:a:octokit_project:octokit:4.24.0:*:*:*:*:ruby:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-31072
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-31072
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.04 }} 0.00%
score
0.10224
percentile