Input validation error in httparty - CVE-2024-22049

 

Input validation error in httparty - CVE-2024-22049

Published: January 5, 2024


Vulnerability identifier: #VU85040
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-22049
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to overwrite files on the system.

The vulnerability exists due to insufficient validation of user-supplied input when processing filenames. A remote attacker can provide a crafted filename parameter during multipart/form-data uploads, which could result in attacker controlled filenames being written to the system.


Affected software

httparty
Fedora
rubygem-httparty

How to mitigate CVE-2024-22049

Install updates from vendor's website.

httparty - update to 0.21.0
rubygem-httparty - addressed in versions 0.18.1-9.fc38, 0.18.1-9.fc39, 0.21.0-1.fc40

External References

Related Security Bulletins