Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-31072

2.5 · LOW
Published Jun 15, 2022 octokit_project CWE-276 EPSS 0.25% (16th pctl)

Overview

CVE-2022-31072 is a low-severity vulnerability affecting octokit_project octokit. It was published on June 15, 2022 and has a CVSS 3.1 base score of 2.5 (LOW).

This vulnerability has a CVSS 3.1 base score of 2.5, rated LOW. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from octokit_project. Update octokit to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status

Frequently Asked Questions

What is CVE-2022-31072?

CVE-2022-31072 is a low-severity vulnerability affecting octokit_project octokit. It was published on June 15, 2022 and has a CVSS 3.1 base score of 2.5 (LOW).

How severe is CVE-2022-31072?

This vulnerability has a CVSS 3.1 base score of 2.5, rated LOW. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-31072?

Check the references section for vendor advisories and patches from octokit_project. Update octokit to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-31072?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-31072 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.