CVE-2022-31072

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-31072
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31072.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-31072
Aliases
Related
Published
2022-06-15T23:15:09Z
Modified
2024-08-01T07:21:41.309820Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/octokit/octokit.rb

Affected ranges

Type
GIT
Repo
https://github.com/octokit/octokit.rb
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.0.1
v0.1.0
v0.1.1
v0.1.2
v0.1.3
v0.1.4
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.4.1
v0.5.0
v0.5.1
v0.5.2
v0.6.0
v0.6.1
v0.6.2
v0.6.3
v0.6.4
v0.6.5

v1.*

v1.0.0
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.0.6
v1.0.7
v1.1.0
v1.1.1
v1.10.0
v1.11.0
v1.12.0
v1.13.0
v1.14.0
v1.15.0
v1.15.1
v1.17.0
v1.17.1
v1.18.0
v1.19.0
v1.2.0
v1.2.1
v1.20.0
v1.21.0
v1.22.0
v1.23.0
v1.24.0
v1.25.0
v1.3.0
v1.4.0
v1.5.0
v1.6.0
v1.6.1
v1.7.0
v1.8.0
v1.8.1
v1.9.1
v1.9.2
v1.9.3
v1.9.4

v2.*

v2.0.0
v2.0.0.pre
v2.0.0.rc1
v2.0.0.rc2
v2.0.0.rc3
v2.0.0.rc4
v2.1.0
v2.1.1
v2.1.2
v2.2.0
v2.3.0
v2.3.1
v2.4.0
v2.5.0
v2.5.1
v2.6.0
v2.6.1
v2.6.2
v2.6.3
v2.7.0

v3.*

v3.0.0
v3.0.0.pre
v3.1.0
v3.1.1
v3.1.2
v3.2.0
v3.3.0
v3.3.1
v3.4.0
v3.4.1
v3.4.2
v3.5.2
v3.6.0
v3.6.1
v3.7.0
v3.7.1
v3.8.0

v4.*

v4.0.0
v4.0.1
v4.1.0
v4.1.1
v4.10.0
v4.11.0
v4.12.0
v4.13.0
v4.14.0
v4.15.0
v4.16.0
v4.17.0
v4.18.0
v4.19.0
v4.2.0
v4.20.0
v4.21.0
v4.22.0
v4.23.0
v4.24.0
v4.3.0
v4.4.0
v4.4.1
v4.6.0
v4.6.1
v4.6.2
v4.7.0
v4.8.0
v4.9.0