CVE-2024-22049 json
httparty Multipart/Form-Data Request Tampering Vulnerability
published 2023-01-03 3 y ago modified 2026-11-08 25 h ago also EUVD-2023-0342 , GHSA-5pq7-52mg-hr42
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems httparty 0.21.0
- jnunemaker httparty 0.21.0
- ruby-httparty Debian 14, Debian 13, Debian 12 0.21.0-1
debian advisories DEBIAN-CVE-2024-22049
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-22049 updated cvss 6.5
httparty: multipart/form-data request vulnerable to tampering
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.29% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/jnunemaker/httparty/security/advisories/GHSA-5pq7-52mg-hr42 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/advisories/GHSA-5pq7-52mg-hr42 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/jnunemaker/httparty/blob/4416141d37fd71bdba4f37589ec265f55aa446ce/lib/httparty/request/body.rb#L43 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | httparty | <0.21.0 |
0.21.0 |
Classification
- Weakness
-
- CWE-472 External Control of Assumed-Immutable Web Parameter
References
-
github.com
/jnunemaker/httparty/commit/cdb45a678c43e44570b4e73f84b1abeb5ec22b8e
patch, web
-
github.com
/jnunemaker/httparty/security/advisories/GHSA-5pq7-52mg-hr42
vendor-advisory, web, exploit, patch
-
vulncheck.com
/advisories/vc-advisory-GHSA-5pq7-52mg-hr42
third-party-advisory, patch
-
github.com
/advisories/GHSA-5pq7-52mg-hr42
vendor-advisory, third-party-advisory, exploit
-
github.com
/jnunemaker/httparty/blob/4416141d37fd71bdba4f37589ec265f55aa446ce/lib/httparty/request/body.rb#L43
related, web, exploit
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/IOWECZPJY6JZIA5FSBJR77KCRDXWDZDA/
mailing-list
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/4LDGAVPR4KB72V4GGQCWODEAI72QZI3V/
mailing-list
-
lists.debian.org
/debian-lts-announce/2024/01/msg00011.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2024/09/msg00043.html
mailing-list, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-22049
advisory
-
github.com
/jnunemaker/httparty
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/httparty/CVE-2024-22049.yml
web
Sources
- CVE List CVE-2024-22049
- GitHub Advisory GHSA-5pq7-52mg-hr42
- NVD CVE-2024-22049
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.