Nexmo / ruby-sms-customer-support

SMS Customer Support Application using Ruby and Nexmo
https://developer.nexmo.com/tutorials/sms-customer-support
3 stars 4 forks source link

spring-watcher-listen-2.0.1.gem: 4 vulnerabilities (highest severity is: 9.8) - autoclosed #9

Closed mend-for-github-com[bot] closed 1 year ago

mend-for-github-com[bot] commented 2 years ago
Vulnerable Library - spring-watcher-listen-2.0.1.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/i18n-0.7.0.gem

Found in HEAD commit: 4f74f4cb61ae8aaa9de0e2a123d587b45caa7bdb

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-watcher-listen version) Remediation Available
CVE-2020-8165 High 9.8 activesupport-5.0.1.gem Transitive N/A*
CVE-2022-31163 High 8.1 tzinfo-1.2.2.gem Transitive N/A*
CVE-2018-1000201 Medium 5.6 ffi-1.9.14.gem Transitive N/A*
CVE-2014-10077 Medium 5.3 i18n-0.7.0.gem Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the section "Details" below to see if there is a version of transitive dependency where vulnerability is fixed.

Details

CVE-2020-8165 ### Vulnerable Library - activesupport-5.0.1.gem

A toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Rich support for multibyte strings, internationalization, time zones, and testing.

Library home page: https://rubygems.org/gems/activesupport-5.0.1.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/activesupport-5.0.1.gem

Dependency Hierarchy: - spring-watcher-listen-2.0.1.gem (Root Library) - spring-2.0.0.gem - :x: **activesupport-5.0.1.gem** (Vulnerable Library)

Found in HEAD commit: 4f74f4cb61ae8aaa9de0e2a123d587b45caa7bdb

Found in base branch: main

### Vulnerability Details

A deserialization of untrusted data vulnernerability exists in rails < 5.2.4.3, rails < 6.0.3.1 that can allow an attacker to unmarshal user-provided objects in MemCacheStore and RedisCacheStore potentially resulting in an RCE.

Publish Date: 2020-06-19

URL: CVE-2020-8165

### CVSS 3 Score Details (9.8)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-2p68-f74v-9wc6

Release Date: 2020-06-19

Fix Resolution: 5.2.4.3,6.0.3.1

CVE-2022-31163 ### Vulnerable Library - tzinfo-1.2.2.gem

TZInfo provides daylight savings aware transformations between times in different time zones.

Library home page: https://rubygems.org/gems/tzinfo-1.2.2.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/tzinfo-1.2.2.gem

Dependency Hierarchy: - spring-watcher-listen-2.0.1.gem (Root Library) - spring-2.0.0.gem - activesupport-5.0.1.gem - :x: **tzinfo-1.2.2.gem** (Vulnerable Library)

Found in HEAD commit: 4f74f4cb61ae8aaa9de0e2a123d587b45caa7bdb

Found in base branch: main

### Vulnerability Details

TZInfo is a Ruby library that provides access to time zone data and allows times to be converted using time zone rules. Versions prior to 0.36.1, as well as those prior to 1.2.10 when used with the Ruby data source tzinfo-data, are vulnerable to relative path traversal. With the Ruby data source, time zones are defined in Ruby files. There is one file per time zone. Time zone files are loaded with `require` on demand. In the affected versions, `TZInfo::Timezone.get` fails to validate time zone identifiers correctly, allowing a new line character within the identifier. With Ruby version 1.9.3 and later, `TZInfo::Timezone.get` can be made to load unintended files with `require`, executing them within the Ruby process. Versions 0.3.61 and 1.2.10 include fixes to correctly validate time zone identifiers. Versions 2.0.0 and later are not vulnerable. Version 0.3.61 can still load arbitrary files from the Ruby load path if their name follows the rules for a valid time zone identifier and the file has a prefix of `tzinfo/definition` within a directory in the load path. Applications should ensure that untrusted files are not placed in a directory on the load path. As a workaround, the time zone identifier can be validated before passing to `TZInfo::Timezone.get` by ensuring it matches the regular expression `\A[A-Za-z0-9+\-_]+(?:\/[A-Za-z0-9+\-_]+)*\z`.

Publish Date: 2022-07-22

URL: CVE-2022-31163

### CVSS 3 Score Details (8.1)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/tzinfo/tzinfo/security/advisories/GHSA-5cm2-9h8c-rvfx

Release Date: 2022-07-22

Fix Resolution: tzinfo - 0.3.61,1.2.10

CVE-2018-1000201 ### Vulnerable Library - ffi-1.9.14.gem

Ruby FFI library

Library home page: https://rubygems.org/gems/ffi-1.9.14.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/ffi-1.9.14.gem

Dependency Hierarchy: - spring-watcher-listen-2.0.1.gem (Root Library) - listen-3.0.8.gem - rb-inotify-0.9.7.gem - :x: **ffi-1.9.14.gem** (Vulnerable Library)

Found in HEAD commit: 4f74f4cb61ae8aaa9de0e2a123d587b45caa7bdb

Found in base branch: main

### Vulnerability Details

ruby-ffi version 1.9.23 and earlier has a DLL loading issue which can be hijacked on Windows OS, when a Symbol is used as DLL name instead of a String This vulnerability appears to have been fixed in v1.9.24 and later.

Publish Date: 2018-06-22

URL: CVE-2018-1000201

### CVSS 3 Score Details (5.6)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-1000201

Release Date: 2018-06-22

Fix Resolution: 1.9.24

CVE-2014-10077 ### Vulnerable Library - i18n-0.7.0.gem

New wave Internationalization support for Ruby.

Library home page: https://rubygems.org/gems/i18n-0.7.0.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/i18n-0.7.0.gem

Dependency Hierarchy: - spring-watcher-listen-2.0.1.gem (Root Library) - spring-2.0.0.gem - activesupport-5.0.1.gem - :x: **i18n-0.7.0.gem** (Vulnerable Library)

Found in HEAD commit: 4f74f4cb61ae8aaa9de0e2a123d587b45caa7bdb

Found in base branch: main

### Vulnerability Details

Hash#slice in lib/i18n/core_ext/hash.rb in the i18n gem before 0.8.0 for Ruby allows remote attackers to cause a denial of service (application crash) via a call in a situation where :some_key is present in keep_keys but not present in the hash.

Publish Date: 2018-11-06

URL: CVE-2014-10077

### CVSS 3 Score Details (5.3)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2014-10077

Release Date: 2018-11-06

Fix Resolution: 0.8.0

mend-for-github-com[bot] commented 1 year 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.