{"schemaVersion":3,"id":"CVE-2024-22049","aliases":["UBUNTU-CVE-2024-22049","DEBIAN-CVE-2024-22049","DLA-3716-1","DLA-3900-1","GHSA-5pq7-52mg-hr42"],"status":"published","duplicateOf":null,"title":"httparty Multipart/Form-Data Request Tampering Vulnerability","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.","dates":{"published":"2024-01-04T20:19:02.547Z","modified":"2026-07-14T22:54:39.288Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Rubygems","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0129,"percentile":0.7,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.0129},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0129,"percentile":0.7}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0129,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0129,"percentile":0.7}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_JNUNEMAKER_HTTPARTY","name":"Httparty","source":"github","url":"https://github.com/jnunemaker/httparty/commit/53a812426dd32108d6cba4272b493aa03bc8c031","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"GITHUB_ADVISORIES_GHSA-5PQ7-52MG-HR42","name":"Ghsa 5Pq7 52Mg Hr42","source":"github","url":"https://github.com/advisories/GHSA-5pq7-52mg-hr42","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-472","name":"External Control of Assumed-Immutable Web Parameter","description":"The web application does not sufficiently verify inputs that are assumed to be immutable but are actually externally controllable, such as hidden form fields.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/472.html"}],"affected":[{"vendor":"debian","product":"ruby-httparty","name":"ruby-httparty","label":"ruby-httparty","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ruby-httparty","purlType":"deb","versions":[{"text":"< 0.21.0-1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.16.2+dfsg1-3+deb10u1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.18.1-2+deb11u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.21.0-1 | < 0.16.2+dfsg1-3+deb10u1 | < 0.18.1-2+deb11u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby-httparty","name":"ruby-httparty","label":"ruby-httparty","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby-httparty","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.0","noFixRecorded":false,"fixedIn":null},{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0 | 11.0","eol":{"isEol":true,"eolDate":"2024-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10","label":"10 (Buster)","eolFrom":"2024-06-30T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"10.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"38","noFixRecorded":false,"fixedIn":null},{"text":"39","noFixRecorded":false,"fixedIn":null}],"versionsText":"38 | 39","eol":{"isEol":true,"eolDate":"2024-05-21T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"38","label":"38","eolFrom":"2024-05-21T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"RubyGems","product":"httparty","name":"httparty","label":"httparty","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/httparty","purlType":"gem","versions":[{"text":"< 0.21.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.21.0","eol":null,"hubHref":null},{"vendor":"jnunemaker","product":"httparty","name":"httparty","label":"httparty","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.21.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.21.0","eol":null,"hubHref":"/vendor/jnunemaker/httparty"}],"affectedCount":6,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://github.com/jnunemaker/httparty/security/advisories/GHSA-5pq7-52mg-hr42","label":"github.com/jnunemaker/httparty/security/advisories/GHSA-5pq7-52mg-hr42","hostname":"github.com","tags":["Vendor Advisory","REPORT","WEB","Exploit","Patch"]},{"url":"https://github.com/jnunemaker/httparty/commit/cdb45a678c43e44570b4e73f84b1abeb5ec22b8e","label":"github.com/jnunemaker/httparty/commit/cdb45a678c43e44570b4e73f84b1abeb5ec22b8e","hostname":"github.com","tags":["Patch","REPORT","WEB"]},{"url":"https://github.com/jnunemaker/httparty/blob/4416141d37fd71bdba4f37589ec265f55aa446ce/lib/httparty/request/body.rb#L43","label":"github.com/jnunemaker/…","hostname":"github.com","tags":["Related","REPORT","WEB","Exploit"]},{"url":"https://github.com/advisories/GHSA-5pq7-52mg-hr42","label":"github.com/advisories/GHSA-5pq7-52mg-hr42","hostname":"github.com","tags":["Vendor Advisory","REPORT","Exploit","Third Party Advisory"]},{"url":"https://vulncheck.com/advisories/vc-advisory-GHSA-5pq7-52mg-hr42","label":"vulncheck.com/advisories/vc-advisory-GHSA-5pq7-52mg-hr42","hostname":"vulncheck.com","tags":["Third Party Advisory","REPORT","Patch"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IOWECZPJY6JZIA5FSBJR77KCRDXWDZDA/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4LDGAVPR4KB72V4GGQCWODEAI72QZI3V/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/01/msg00011.html","label":"lists.debian.org/debian-lts-announce/2024/01/msg00011.html","hostname":"lists.debian.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00043.html","label":"lists.debian.org/debian-lts-announce/2024/09/msg00043.html","hostname":"lists.debian.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-22049","label":"ubuntu.com/security/CVE-2024-22049","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-22049","label":"www.cve.org/CVERecord?id=CVE-2024-22049","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-22049","label":"security-tracker.debian.org/tracker/CVE-2024-22049","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22049","label":"nvd.nist.gov/vuln/detail/CVE-2024-22049","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/jnunemaker/httparty","label":"github.com/jnunemaker/httparty","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/httparty/CVE-2024-22049.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/httparty/CVE-2024-22049.yml","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-01-04T20:19:02.547Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-14T22:54:39.288Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T19:32:59.943Z","stale":false,"partial":false}}