Sh2dowFi3nd / Test_2

0 stars 0 forks source link

WS-2023-0001 (Medium) detected in httparty-0.13.7.gem #347

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

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

WS-2023-0001 - Medium Severity Vulnerability

Vulnerable Library - httparty-0.13.7.gem

Makes http fun! Also, makes consuming restful web services dead easy.

Library home page: https://rubygems.org/gems/httparty-0.13.7.gem

Path to dependency file: /Test_2/fs-agent-master/fs-agent-master/src/test/resources/resolver/ruby/Gemfile.lock

Path to vulnerable library: /gems/2.3.0/cache/httparty-0.13.7.gem

Dependency Hierarchy: - :x: **httparty-0.13.7.gem** (Vulnerable Library)

Found in HEAD commit: c1332a92d49314dc4805835947aa0207f1209203

Found in base branch: master

Vulnerability Details

httparty prior to 0.21.0 has multipart/form-data request tampering vulnerability, which is caused by Content-Disposition "filename" lack of escaping in httparty. By exploiting this problem, an attack that rewrites the "name" field according to the crafted file name, impersonating (overwriting) another field, and attacks that rewrite the filename extension at the time multipart/form-data is generated by tampering with the filename.

Publish Date: 2023-01-03

URL: WS-2023-0001

CVSS 3 Score Details (6.5)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-5pq7-52mg-hr42

Release Date: 2023-01-03

Fix Resolution: httparty - 0.21.0


Step up your Open Source Security Game with Mend here