{"id":"CVE-2022-31071","published":"2022-06-15T22:35:15Z","modified":"2025-04-23T18:11:19Z","title":"Octopoller gem published with world-writable files","vendor":"octokit","product":"octopoller.rb","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.5,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00223,"percentile":0.13183,"provenance":"source"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"references":[{"url":"https://github.com/octokit/octopoller.rb/security/advisories/GHSA-26qj-cr27-r5c4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/octokit/octopoller.rb/commit/abed2b8d05abe2cc3eb6bdfb34e53d465e7c7874","tags":["x_refsource_MISC"]}],"priority":{"score":4.4,"factors":[{"name":"EPSS percentile","points":2.64},{"name":"CVSS severity","points":1.75}]},"vendorSlug":"octokit","affectedVersions":[{"vendor":"octokit","product":"octopoller.rb","versions":["= 0.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:05:05.517990Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"octopoller","vulnerableRanges":[">=0.2.0, <0.3.0"],"patched":["0.3.0"],"from":["GHSA-26qj-cr27-r5c4"],"provenance":"source"}],"summary":{"text":"The Octopoller gem (octopoller.rb, published by octokit) version 0.2.0 was released with its files set to world-writable permissions (0666) instead of the intended 0644, a case of incorrect default permissions. An attacker with local access to a system where that version is installed, and who is not the file owner, could modify the gem's files, which requires an account on the host and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:27Z"},"euvd":{"id":"EUVD-2022-5885","exploited":false,"provenance":"source"}}