rvvergara / rockwell

0 stars 0 forks source link

CVE-2024-29034 (Medium) detected in carrierwave-1.2.3.gem #120

Open mend-bolt-for-github[bot] opened 6 months ago

mend-bolt-for-github[bot] commented 6 months ago

CVE-2024-29034 - Medium Severity Vulnerability

Vulnerable Library - carrierwave-1.2.3.gem

Upload files in your Ruby applications, map them to a range of ORMs, store them on different backends.

Library home page: https://rubygems.org/gems/carrierwave-1.2.3.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /Gemfile.lock

Dependency Hierarchy: - :x: **carrierwave-1.2.3.gem** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

CarrierWave is a solution for file uploads for Rails, Sinatra and other Ruby web frameworks. The vulnerability CVE-2023-49090 wasn't fully addressed. This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by `content_type_allowlist`, by providing multiple values separated by commas. This bypassed value can be used to cause XSS. Upgrade to 3.0.7 or 2.2.6.

Publish Date: 2024-03-24

URL: CVE-2024-29034

CVSS 3 Score Details (6.8)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/carrierwaveuploader/carrierwave/security/advisories/GHSA-vfmv-jfc5-pjjw

Release Date: 2024-03-24

Fix Resolution: carrierwave - 2.2.6,3.0.7


Step up your Open Source Security Game with Mend here