CVE-2024-22049
MEDIUM6.5EPSS 1.2%ruby-httparty - security update
Published: 1/3/2023Modified: 4/28/2026
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.
Affected packages (4)
- Debian/ruby-httpartyfrom 0, < 0.18.1-2+deb11u1
- Debian/ruby-httpartyfrom 0, < 0.16.2+dfsg1-3+deb10u1
- Debian/ruby-httpartyfrom 0, < 0.18.1-2+deb11u1
- RubyGems/httpartyfrom 0, < 0.21.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-22049
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-22049
- PATCHhttps://github.com/jnunemaker/httparty
- WEBhttps://github.com/jnunemaker/httparty/blob/4416141d37fd71bdba4f37589ec265f55aa446ce/lib/httparty/request/body.rb#L43
- WEBhttps://github.com/jnunemaker/httparty/commit/cdb45a678c43e44570b4e73f84b1abeb5ec22b8e
- WEBhttps://github.com/jnunemaker/httparty/security/advisories/GHSA-5pq7-52mg-hr42
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/httparty/CVE-2024-22049.yml