GHSA-g47j-3m2m-74qv: Duplicate Advisory Httparty Has Multipart/form-data Request Tampering Vulnerability

MODERATE
CVSS 5.3
CWE-668 CWE-472
Published
Advisory Summary

GHSA-g47j-3m2m-74qv is a MODERATE (CVSS 5.3) httparty has multipart/form-data request tampering vulnerability (CWE-668: Exposure of Resource to Wrong Sphere) affecting Duplicate Advisory libraries in the RubyGems ecosystem. The issue involves httparty has multipart/form-data request tampering vulnerability. Remediation is available in the latest vendor maintenance releases.

GHSA-g47j-3m2m-74qv at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-g47j-3m2m-74qv
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-668: Exposure of Resource to Wrong Sphere
Affected Product Duplicate Advisory
Package Ecosystem RubyGems
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix GHSA-g47j-3m2m-74qv

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

httparty fixed: Latest secure release
Upgrade httparty to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for httparty

How to Check if You Are Affected

To determine whether your application is affected by GHSA-g47j-3m2m-74qv, inspect your project dependencies for Duplicate Advisory:

inspect dependencies for httparty

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-668: Exposure of Resource to Wrong Sphere, where the product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-5pq7-52mg-hr42. This link is maintained to preserve external references. ### Original Description httparty before 0.21.0 is vulnerable to an assumed-immutable web parameter vulnerability. A remote and unauthenticated attacker can provide a crafted filename parameter during multipart/form-data uploads which could result in attacker controlled filenames being written.

GHSA-g47j-3m2m-74qv Affected Duplicate Advisory Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
httparty
RubyGems
≤ 0.20.0

References

Frequently Asked Questions

What is GHSA-g47j-3m2m-74qv?
GHSA-g47j-3m2m-74qv is a security vulnerability in Duplicate Advisory involving httparty has multipart/form-data request tampering vulnerability under CWE-668: Exposure of Resource to Wrong Sphere.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: httparty.
What version fixes GHSA-g47j-3m2m-74qv?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is httparty affected?
Yes, httparty is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of GHSA-g47j-3m2m-74qv?
GHSA-g47j-3m2m-74qv has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with GHSA-g47j-3m2m-74qv?
GHSA-g47j-3m2m-74qv is classified under CWE-668: Exposure of Resource to Wrong Sphere (The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.).
How can I check RubyGems dependencies for GHSA-g47j-3m2m-74qv?
Run the dependency tree command: 'inspect dependencies for httparty'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g47j-3m2m-74qv",
  "modified" : "2026-01-07T21:33:08Z",
  "published" : "2024-01-04T21:30:24Z",
  "withdrawn" : "2024-01-05T15:32:43Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: httparty has multipart/form-data request tampering vulnerability",
  "details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-5pq7-52mg-hr42. This link is maintained to preserve external references.\n\n### Original Description\nhttparty before 0.21.0 is vulnerable to an assumed-immutable web parameter vulnerability. A remote and unauthenticated attacker can provide a crafted filename parameter during multipart/form-data uploads which could result in attacker controlled filenames being written.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "httparty"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.20.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/jnunemaker/httparty/security/advisories/GHSA-5pq7-52mg-hr42"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-22049"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jnunemaker/httparty/commit/cdb45a678c43e44570b4e73f84b1abeb5ec22b8e"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-5pq7-52mg-hr42"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jnunemaker/httparty/blob/4416141d37fd71bdba4f37589ec265f55aa446ce/lib/httparty/request/body.rb#L43"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2024/01/msg00011.html"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2024/09/msg00043.html"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4LDGAVPR4KB72V4GGQCWODEAI72QZI3V"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IOWECZPJY6JZIA5FSBJR77KCRDXWDZDA"
  }, {
    "type" : "WEB",
    "url" : "https://vulncheck.com/advisories/vc-advisory-GHSA-5pq7-52mg-hr42"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-472", "CWE-668" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-05T15:32:43Z",
    "nvd_published_at" : "2024-01-04T21:15:10Z"
  }
}