CVE-2022-31071: octokit octopoller.rb Incorrect Default Permissions
Vulnerability summary
CVE-2022-31071 is a low (CVSS 3.3) Incorrect Default Permissions vulnerability in octokit octopoller.rb. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 11.6% of scored vulnerabilities.
Timeline
- 15-06-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
Octopoller is a micro gem for polling and retrying. Version 0.2.0 of the octopoller gem was 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 Octopoller 0.3.0. Two workarounds are available. Users can use the previous version of the gem, v0.1.0. Alternatively, users can modify the file permissions manually until they are able to upgrade to the latest version.
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA2.5LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:NDiffers
- OSV · RubygemsEcosystem advisory · calculated2.5LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:NDiffers
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
+0.01 pp
From 0.21% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Octokit1 product
- octopoller.rb= 0.2.0
Octopoller_project1 product
- octopoller0.2.0
RubyGems1 product
- octopoller≥ 0.2.0, < 0.3.0
3 vendors · 3 products
References
5 links- github.com/octokit/octopoller.rb/security/advisories/GHSA-26qj-cr27-r5c4X Refsource CONFIRMWEBThird Party Advisory
- github.com/octokit/octopoller.rb/commit/abed2b8d05abe2cc3eb6bdfb34e53d465e7c7874X Refsource MISCWEBPatchThird Party Advisory