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.
WS-2023-0001 - Medium Severity Vulnerability
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
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
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.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