{"id":"UBUNTU-CVE-2024-22049","details":"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.","modified":"2025-10-24T05:06:51Z","published":"2024-01-04T21:15:00Z","upstream":["CVE-2024-22049"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-22049"},{"type":"REPORT","url":"https://github.com/jnunemaker/httparty/security/advisories/GHSA-5pq7-52mg-hr42"},{"type":"REPORT","url":"https://github.com/jnunemaker/httparty/commit/cdb45a678c43e44570b4e73f84b1abeb5ec22b8e"},{"type":"REPORT","url":"https://github.com/jnunemaker/httparty/blob/4416141d37fd71bdba4f37589ec265f55aa446ce/lib/httparty/request/body.rb#L43"},{"type":"REPORT","url":"https://github.com/advisories/GHSA-5pq7-52mg-hr42"},{"type":"REPORT","url":"https://vulncheck.com/advisories/vc-advisory-GHSA-5pq7-52mg-hr42"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-22049"}],"affected":[{"package":{"name":"ruby-httparty","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-httparty@0.13.5-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.13.5-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-httparty","binary_version":"0.13.5-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-22049.json"}},{"package":{"name":"ruby-httparty","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-httparty@0.15.6-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.13.7-1","0.13.7-2","0.15.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-httparty","binary_version":"0.15.6-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-22049.json"}},{"package":{"name":"ruby-httparty","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-httparty@0.17.0-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.17.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-httparty","binary_version":"0.17.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-22049.json"}},{"package":{"name":"ruby-httparty","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-httparty@0.18.1-3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.18.1-2","0.18.1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-httparty","binary_version":"0.18.1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-22049.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}