Octopoller gem published with world-writable files
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-31071
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 03:08 UTC · Revision 1
Source evidence
Octopoller gem published with world-writable files
core-osv · Original sourcePublished 15 Jun 2022, 22:35 UTC
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.
osv:CVE-2022-31071
Complete source record
{
"id": "c632e6f70d5c2fe26f8dc92f5e466286ef2ee2251a4b8f1dd90dd840191a6dee",
"url": "https://osv.dev/vulnerability/CVE-2022-31071",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Octopoller gem published with world-writable files",
"summary": "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.",
"evidence": "osv:CVE-2022-31071",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2022-31071",
"aliases": [
"CVE-2022-31071",
"GHSA-26qj-cr27-r5c4"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/octokit/octopoller.rb",
"type": "GIT",
"events": [
{
"introduced": "f5a3abf52718a8d1757189865bf0750bf77d105c"
},
{
"fixed": "abed2b8d05abe2cc3eb6bdfb34e53d465e7c7874"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "= 0.2.0"
},
{
"last_affected": "= 0.2.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"fixed": "abed2b8d05abe2cc3eb6bdfb34e53d465e7c7874"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.2.0",
"= 0.2.0",
"v0.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31071.json"
}
}
],
"modified": "2026-10-28T02:30:32.721749861Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31071.json",
"https://github.com/octokit/octopoller.rb/security/advisories/GHSA-26qj-cr27-r5c4",
"https://nvd.nist.gov/vuln/detail/CVE-2022-31071",
"https://github.com/octokit/octopoller.rb/commit/abed2b8d05abe2cc3eb6bdfb34e53d465e7c7874"
],
"provider_metadata": {
"cwe_ids": [
"CWE-276"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31071.json"
}
},
"related_cves": [
{
"value": "CVE-2022-31071",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 499924,
"published_at": "2022-06-15T22:35:15+00:00"
}