Vonage / vonage-go-sdk

A lightweight library to help Go users everywhere integrate with the Vonage APIs. Issues and PRs all really welcome!!
https://vonage.github.io/vonage-go-sdk/
Apache License 2.0
51 stars 32 forks source link

github-pages-226.gem: 1 vulnerabilities (highest severity is: 3.3) - autoclosed #79

Closed mend-for-github-com[bot] closed 2 years ago

mend-for-github-com[bot] commented 2 years ago
Vulnerable Library - github-pages-226.gem

Path to dependency file: /docs/Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/octokit-4.24.0.gem

Found in HEAD commit: 821b439313de9340f2f41fa36d5cee25e1ab2361

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in Remediation Available
CVE-2022-31072 Low 3.3 octokit-4.24.0.gem Transitive N/A

Details

CVE-2022-31072 ### Vulnerable Library - octokit-4.24.0.gem

Simple wrapper for the GitHub API

Library home page: https://rubygems.org/gems/octokit-4.24.0.gem

Path to dependency file: /docs/Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/octokit-4.24.0.gem

Dependency Hierarchy: - github-pages-226.gem (Root Library) - github-pages-health-check-1.17.9.gem - :x: **octokit-4.24.0.gem** (Vulnerable Library)

Found in HEAD commit: 821b439313de9340f2f41fa36d5cee25e1ab2361

Found in base branch: master

### Vulnerability 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.

Publish Date: 2022-06-15

URL: CVE-2022-31072

### CVSS 3 Score Details (3.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31072

Release Date: 2022-06-15

Fix Resolution: octokit - 4.25.0

mend-for-github-com[bot] commented 2 years ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.