Summary
It was discovered that HTTParty did not escape file names in
multipart/form-data requests. An attacker able to control a file name could
possibly use this issue to tamper with the contents of the request. This
issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2024-22049)
It was discovered that HTTParty sent requests to the host named in an
absolute URL even when a base URI was configured. An attacker able to
control the request path could possibly use this issue to perform
server-side request forgery attacks and obtain sensitive information, such
as API keys. With this update, HTTParty refuses such requests unless the
new skip_uri_validation option is set. (CVE-2025-68696)
Fixed packages 4
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | ruby-httparty | 0.13.5-1ubuntu0.1~esm1 |
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | ruby-httparty | 0.15.6-1ubuntu0.1~esm1 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | ruby-httparty | 0.17.0-1ubuntu0.1~esm1 |
| Ubuntu · Pro 22.04 LTS Pro:22.04:LTS | ruby-httparty | 0.18.1-3ubuntu0.1~esm1 |