cameronghe / ruby-test

0 stars 0 forks source link

activestorage-6.1.3.2.gem: 1 vulnerabilities (highest severity is: 9.8) - autoclosed #9

Closed cameron-mend-ghe[bot] closed 4 hours ago

cameron-mend-ghe[bot] commented 4 hours ago
Vulnerable Library - activestorage-6.1.3.2.gem

Attach cloud and local files in Rails applications.

Library home page: https://rubygems.org/gems/activestorage-6.1.3.2.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/3.2.0/cache/activestorage-6.1.3.2.gem

Found in HEAD commit: 5c96a0a5d3585d6c9366c4702c9fc060cfa34fc2

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (activestorage version) Remediation Possible**
CVE-2022-21831 Critical 9.8 activestorage-6.1.3.2.gem Direct activestorage - 5.2.6.3,6.0.4.7,6.1.4.7,7.0.2.3

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2022-21831 ### Vulnerable Library - activestorage-6.1.3.2.gem

Attach cloud and local files in Rails applications.

Library home page: https://rubygems.org/gems/activestorage-6.1.3.2.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/3.2.0/cache/activestorage-6.1.3.2.gem

Dependency Hierarchy: - :x: **activestorage-6.1.3.2.gem** (Vulnerable Library)

Found in HEAD commit: 5c96a0a5d3585d6c9366c4702c9fc060cfa34fc2

Found in base branch: main

### Vulnerability Details

A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments.

Publish Date: 2022-05-26

URL: CVE-2022-21831

### 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-w749-p3v6-hccq

Release Date: 2022-05-26

Fix Resolution: activestorage - 5.2.6.3,6.0.4.7,6.1.4.7,7.0.2.3

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.

cameron-mend-ghe[bot] commented 4 hours 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.