Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Linux

Advisory Medium CVE Analysis

Ubuntu Releases Update Fixing Two HTTParty Request-Handling Vulnerabilities

According to Ubuntu USN, a security update fixes two separate HTTParty flaws on Ubuntu systems, one affecting multipart requests and one enabling server-side request forgery. The report says the multipart issue affects only Ubuntu 20.04 LTS and 22.04 LTS.

LinuxOperating systemsVulnerabilities

Key points

  • Ubuntu USN reports a security update fixing two HTTParty vulnerabilities.
  • CVE-2024-22049 enables request tampering via file names in multipart/form-data requests, affecting only Ubuntu 20.04 LTS and 22.04 LTS.
  • CVE-2025-68696 enables server-side request forgery through manipulated request paths, which could expose data such as API keys.
  • The report describes a configuration-based mitigation for absolute URL requests; fixed package versions are not stated.

According to Ubuntu USN, a security update has been released for the HTTParty library used on Ubuntu systems. It addresses two separate issues in how HTTParty handles web requests.

The first issue, tracked as CVE-2024-22049, lets an attacker tamper with request contents when they can control a file name in multipart/form-data requests. The advisory says this issue affects only systems running Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.

The second, tracked as CVE-2025-68696, allows server-side request forgery through manipulated request paths. The report says such attacks could potentially expose sensitive data such as API keys.

The update adds a configuration option called skip_uri_validation. The report also says affected systems can be protected by configuring HTTParty to reject requests that include absolute URLs unless a specific option is enabled. The report does not name that option in this context, so administrators should check the original advisory for details.

The update is delivered through standard Ubuntu update procedures. Ubuntu Pro extends security support to more than 25,000 packages across the Main and Universe repositories, and the security update is free for up to five machines under an Ubuntu Pro subscription. The report does not state fixed package versions.

For full details, see the original report from Ubuntu USN.

What to do

  1. Apply the HTTParty update through standard Ubuntu update procedures on Ubuntu 20.04 LTS and 22.04 LTS systems.
  2. Review the original Ubuntu USN advisory for the configuration option that rejects absolute URL requests unless enabled.
  3. Check whether Ubuntu Pro is in use, since the report notes extended security coverage and a free tier for up to five machines.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

Ubuntu USNubuntu.com

“USN-9396-1: HTTParty vulnerabilities”

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 confi…

Vulnerabilities mentioned

More on this topic