
CVE catalog
CVE-2022-31072
ruby-octokit: CVE-2022-31072
- 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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-octokit | sid | 10.0.0-1 | not affected |
| Debian | ruby-octokit | forky | 10.0.0-1 | not affected |
| Debian | ruby-octokit | trixie | 8.1.0-4 | not affected |
| Debian | ruby-octokit | bookworm | 4.20.0-1 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-octokit | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | ruby-octokit | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | ruby-octokit | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | ruby-octokit | source | bookworm | Not affected | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-octokit]Not affected
Details (2)
4.20.0-1· all · bookwormNot affected
dsa · ruby-octokit · debian · bookworm
4.20.0-1· all · bookwormNot affected
dsa · ruby-octokit · debian · bookworm
Observed: