{"url":"http://public2.vulnerablecode.io/api/packages/102695?format=json","purl":"pkg:deb/debian/ruby-octokit@4.17.0-2?distro=trixie","type":"deb","namespace":"debian","name":"ruby-octokit","version":"4.17.0-2","qualifiers":{"distro":"trixie"},"subpath":"","is_vulnerable":false,"next_non_vulnerable_version":"4.20.0-1","latest_non_vulnerable_version":"10.0.0-1","affected_by_vulnerabilities":[],"fixing_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/167260?format=json","vulnerability_id":"VCID-mq83-8gfr-8bg9","summary":"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":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2022-31072","reference_id":"","reference_type":"","scores":[{"value":"0.00029","scoring_system":"epss","scoring_elements":"0.08728","published_at":"2026-06-14T12:55:00Z"},{"value":"0.00029","scoring_system":"epss","scoring_elements":"0.08731","published_at":"2026-06-12T12:55:00Z"},{"value":"0.00029","scoring_system":"epss","scoring_elements":"0.08687","published_at":"2026-06-11T12:55:00Z"},{"value":"0.00029","scoring_system":"epss","scoring_elements":"0.08736","published_at":"2026-06-13T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2022-31072"},{"reference_url":"https://github.com/octokit/octokit.rb","reference_id":"","reference_type":"","scores":[{"value":"2.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"},{"value":"LOW","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/octokit/octokit.rb"},{"reference_url":"https://github.com/octokit/octokit.rb/commit/1c8edecc9cf23d1ceb959d91a416a69f55ce7d55","reference_id":"1c8edecc9cf23d1ceb959d91a416a69f55ce7d55","reference_type":"","scores":[{"value":"2.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"},{"value":"LOW","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-23T14:05:08Z/"}],"url":"https://github.com/octokit/octokit.rb/commit/1c8edecc9cf23d1ceb959d91a416a69f55ce7d55"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31072","reference_id":"CVE-2022-31072","reference_type":"","scores":[{"value":"2.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"},{"value":"LOW","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31072"},{"reference_url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/octokit/CVE-2022-31072.yml","reference_id":"CVE-2022-31072.YML","reference_type":"","scores":[{"value":"2.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"},{"value":"LOW","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/octokit/CVE-2022-31072.yml"},{"reference_url":"https://github.com/advisories/GHSA-g28x-pgr3-qqx6","reference_id":"GHSA-g28x-pgr3-qqx6","reference_type":"","scores":[{"value":"LOW","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-g28x-pgr3-qqx6"},{"reference_url":"https://github.com/octokit/octokit.rb/security/advisories/GHSA-g28x-pgr3-qqx6","reference_id":"GHSA-g28x-pgr3-qqx6","reference_type":"","scores":[{"value":"2.5","scoring_system":"cvssv3","scoring_elements":""},{"value":"2.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"},{"value":"LOW","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"LOW","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-23T14:05:08Z/"}],"url":"https://github.com/octokit/octokit.rb/security/advisories/GHSA-g28x-pgr3-qqx6"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/102694?format=json","purl":"pkg:deb/debian/ruby-octokit@0?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-octokit@0%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/102695?format=json","purl":"pkg:deb/debian/ruby-octokit@4.17.0-2?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-octokit@4.17.0-2%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/102693?format=json","purl":"pkg:deb/debian/ruby-octokit@4.20.0-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-octokit@4.20.0-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/102697?format=json","purl":"pkg:deb/debian/ruby-octokit@8.1.0-4?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-octokit@8.1.0-4%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/102696?format=json","purl":"pkg:deb/debian/ruby-octokit@10.0.0-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-octokit@10.0.0-1%3Fdistro=trixie"}],"aliases":["CVE-2022-31072","GHSA-g28x-pgr3-qqx6"],"risk_score":1.4,"exploitability":"0.5","weighted_severity":"2.7","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-mq83-8gfr-8bg9"}],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-octokit@4.17.0-2%3Fdistro=trixie"}