CVE catalog

CVE-2022-31072

ruby-octokit: CVE-2022-31072

[CVE catalog]

Severity
Low
Source
[NVD] · [CVE record]
EPSS
0.25% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby-octokitsid10.0.0-1not affected
Debianruby-octokitforky10.0.0-1not affected
Debianruby-octokittrixie8.1.0-4not affected
Debianruby-octokitbookworm4.20.0-1not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-octokitsourcesidNot affectedunimportantNot reportedNot reported
Debianruby-octokitsourceforkyNot affectedunimportantNot reportedNot reported
Debianruby-octokitsourcetrixieNot affectedunimportantNot reportedNot reported
Debianruby-octokitsourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [ruby-octokit]Not affected
    Details (2)
    • 4.20.0-1 · all · bookworm

      Not affected

      dsa · ruby-octokit · debian · bookworm

    • 4.20.0-1 · all · bookworm

      Not affected

      dsa · ruby-octokit · debian · bookworm

Observed:

References