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

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.29%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2023-01-03T13:36:46.000Z
- Modified: 2026-11-20T13:18:33.580Z
- Also known as: GHSA-5pq7-52mg-hr42
- Weaknesses: CWE-472
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- httparty: before 0.21.0
- httparty (RubyGems): before 0.21.0
- debian debian_linux: 10.0; 11.0
- fedoraproject fedora: 38; 39
- jnunemaker httparty: before 0.21.0

## Every score

- CISA-ADP: 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`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: 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`

## References

- <https://github.com/jnunemaker/httparty/security/advisories/GHSA-5pq7-52mg-hr42> (exploit, patch, vendor-advisory, web)
- <https://github.com/jnunemaker/httparty/blob/4416141d37fd71bdba4f37589ec265f55aa446ce/lib/httparty/request/body.rb#L43> (exploit, related, web)
- <https://github.com/advisories/GHSA-5pq7-52mg-hr42> (exploit, third-party-advisory, vendor-advisory)
- <https://github.com/jnunemaker/httparty/commit/cdb45a678c43e44570b4e73f84b1abeb5ec22b8e> (patch, web)
- <https://vulncheck.com/advisories/vc-advisory-GHSA-5pq7-52mg-hr42> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IOWECZPJY6JZIA5FSBJR77KCRDXWDZDA/> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4LDGAVPR4KB72V4GGQCWODEAI72QZI3V/> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2024/01/msg00011.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00043.html> (mailing-list, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-22049> (advisory)
- <https://github.com/jnunemaker/httparty> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/httparty/CVE-2024-22049.yml> (web)

## Sources

- CVE List: [CVE-2024-22049](https://www.cve.org/CVERecord?id=CVE-2024-22049), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-5pq7-52mg-hr42](https://github.com/advisories/GHSA-5pq7-52mg-hr42), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2024-22049](https://nvd.nist.gov/vuln/detail/CVE-2024-22049), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2024-22049 · Whole record: https://cve.day/CVE-2024-22049.json · Rebuilt by cve.day 2026-11-25T22:58:35.923Z
