# CVE-2024-22049: httparty Multipart/Form-Data Request Tampering Vulnerability

Status: published. Published: 2024-01-04. Updated: 2026-11-08.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulnCheck) — https://github.com/jnunemaker/httparty/commit/cdb45a678c43e44570b4e73f84b1abeb5ec22b8e
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: ADP: CVE) — https://github.com/jnunemaker/httparty/commit/cdb45a678c43e44570b4e73f84b1abeb5ec22b8e
- fix: httparty (RubyGems): OSV reports a fixed version 0.21.0. Check the advisory for supported release branches. (source: OSV GHSA-5pq7-52mg-hr42) — https://github.com/advisories/GHSA-5pq7-52mg-hr42

## Affected products and versions

-  /  (httparty): ≥ 0; ≤ 0.20.0 (affected, semver). Source: CNA: VulnCheck
-  / httparty (httparty): 0.1.0 (affected, RubyGems); 0.1.1 (affected, RubyGems); 0.1.2 (affected, RubyGems); 0.1.3 (affected, RubyGems); 0.1.5 (affected, RubyGems); 0.1.6 (affected, RubyGems); 0.1.7 (affected, RubyGems); 0.1.8 (affected, RubyGems); 0.10.0 (affected, RubyGems); 0.10.1 (affected, RubyGems); 0.10.2 (affected, RubyGems); 0.11.0 (affected, RubyGems); 0.12.0 (affected, RubyGems); 0.13.0 (affected, RubyGems); 0.13.1 (affected, RubyGems); 0.13.2 (affected, RubyGems); 0.13.3 (affected, RubyGems); 0.13.4 (affected, RubyGems); 0.13.5 (affected, RubyGems); 0.13.6 (affected, RubyGems); 0.13.7 (affected, RubyGems); 0.14.0 (affected, RubyGems); 0.15.0 (affected, RubyGems); 0.15.1 (affected, RubyGems); 0.15.2 (affected, RubyGems); 0.15.3 (affected, RubyGems); 0.15.4 (affected, RubyGems); 0.15.5 (affected, RubyGems); 0.15.6 (affected, RubyGems); 0.15.7 (affected, RubyGems); 0.16.0 (affected, RubyGems); 0.16.1 (affected, RubyGems); 0.16.2 (affected, RubyGems); 0.16.3 (affected, RubyGems); 0.16.4 (affected, RubyGems); 0.17.0 (affected, RubyGems); 0.17.1 (affected, RubyGems); 0.17.3 (affected, RubyGems); 0.18.0 (affected, RubyGems); 0.18.1 (affected, RubyGems); 0.19.0 (affected, RubyGems); 0.19.1 (affected, RubyGems); 0.2.0 (affected, RubyGems); 0.2.1 (affected, RubyGems); 0.2.10 (affected, RubyGems); 0.2.2 (affected, RubyGems); 0.2.3 (affected, RubyGems); 0.2.4 (affected, RubyGems); 0.2.5 (affected, RubyGems); 0.2.6 (affected, RubyGems); 0.2.7 (affected, RubyGems); 0.2.8 (affected, RubyGems); 0.2.9 (affected, RubyGems); 0.20.0 (affected, RubyGems); 0.3.0 (affected, RubyGems); 0.3.1 (affected, RubyGems); 0.4.0 (affected, RubyGems); 0.4.1 (affected, RubyGems); 0.4.2 (affected, RubyGems); 0.4.3 (affected, RubyGems); 0.4.4 (affected, RubyGems); 0.4.5 (affected, RubyGems); 0.5.0 (affected, RubyGems); 0.5.1 (affected, RubyGems); 0.5.2 (affected, RubyGems); 0.6.0 (affected, RubyGems); 0.6.1 (affected, RubyGems); 0.7.0 (affected, RubyGems); 0.7.2 (affected, RubyGems); 0.7.3 (affected, RubyGems); 0.7.4 (affected, RubyGems); 0.7.6 (affected, RubyGems); 0.7.7 (affected, RubyGems); 0.7.8 (affected, RubyGems); 0.8.0 (affected, RubyGems); 0.8.1 (affected, RubyGems); 0.8.2 (affected, RubyGems); 0.8.3 (affected, RubyGems); 0.9.0 (affected, RubyGems); Ecosystem version events: introduced 0; fixed 0.21.0. Source: OSV GHSA-5pq7-52mg-hr42

## Severity and prioritization

- CVSS 3.1: 5.3 (medium); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N; source: ADP: CISA-ADP

- CISA KEV: No listing in collected sources

- EPSS: 1.29% as of 2026-11-08; percentile 70.42%

- SSVC: exploitation poc; automatable yes; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-472

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/jnunemaker/httparty/security/advisories/GHSA-5pq7-52mg-hr42 (CNA: VulnCheck; vendor-advisory)

- https://github.com/jnunemaker/httparty/commit/cdb45a678c43e44570b4e73f84b1abeb5ec22b8e (CNA: VulnCheck; patch)

- https://github.com/jnunemaker/httparty/blob/4416141d37fd71bdba4f37589ec265f55aa446ce/lib/httparty/request/body.rb#L43 (CNA: VulnCheck; related)

- https://github.com/advisories/GHSA-5pq7-52mg-hr42 (CNA: VulnCheck; vendor-advisory)

- https://vulncheck.com/advisories/vc-advisory-GHSA-5pq7-52mg-hr42 (CNA: VulnCheck; third-party-advisory)

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IOWECZPJY6JZIA5FSBJR77KCRDXWDZDA/ (CNA: VulnCheck)

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4LDGAVPR4KB72V4GGQCWODEAI72QZI3V/ (CNA: VulnCheck)

- https://lists.debian.org/debian-lts-announce/2024/01/msg00011.html (CNA: VulnCheck)

- https://github.com/jnunemaker/httparty/security/advisories/GHSA-5pq7-52mg-hr42 (ADP: CVE; vendor-advisory, x_transferred)

- https://github.com/jnunemaker/httparty/commit/cdb45a678c43e44570b4e73f84b1abeb5ec22b8e (ADP: CVE; patch, x_transferred)

- https://github.com/jnunemaker/httparty/blob/4416141d37fd71bdba4f37589ec265f55aa446ce/lib/httparty/request/body.rb#L43 (ADP: CVE; related, x_transferred)

- https://github.com/advisories/GHSA-5pq7-52mg-hr42 (ADP: CVE; third-party-advisory, x_transferred)

- https://vulncheck.com/advisories/vc-advisory-GHSA-5pq7-52mg-hr42 (ADP: CVE; third-party-advisory, x_transferred)

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IOWECZPJY6JZIA5FSBJR77KCRDXWDZDA/ (ADP: CVE; x_transferred)

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4LDGAVPR4KB72V4GGQCWODEAI72QZI3V/ (ADP: CVE; x_transferred)

- https://lists.debian.org/debian-lts-announce/2024/01/msg00011.html (ADP: CVE; x_transferred)

- https://lists.debian.org/debian-lts-announce/2024/09/msg00043.html (ADP: CVE)

- https://github.com/advisories/GHSA-5pq7-52mg-hr42 (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-5pq7-52mg-hr42 (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: VulnCheck: https://www.cve.org/CVERecord?id=CVE-2024-22049; retrieved 2026-11-08; source updated 2026-11-08

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-5pq7-52mg-hr42; retrieved 2026-11-08; source updated 2026-07-08

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2024-22049; retrieved 2026-11-08; source updated Not reported

Revision: fc632dac6b0df4cb108dc825c2b98a3efb7fde933c0a1037a739514a5bc4ce6b

Canonical: https://y2.dev/cve/CVE-2024-22049

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.