Skip to main content
EPSS 1.3%top 31%

CVE-2024-22049: CWE-472 External Control of Assumed-Immutable Web Parameter

0
Medium
VulnerabilityCVE-2024-22049cvecve-2024-22049cwe-472
Published: 01/04/2024 (01/04/2024, 20:19:02 UTC)
Source: CVE Database V5

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.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected software

Affected versions
=0<0.21.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 09:45:46 UTC

Technical Analysis

CVE-2024-22049 describes an assumed-immutable web parameter vulnerability (CWE-472) in httparty before version 0.21.0. A remote unauthenticated attacker can manipulate the filename parameter in multipart/form-data uploads, causing attacker-controlled filenames to be written. This could lead to integrity issues by overwriting or creating files with attacker-chosen names. The CVSS 3.1 base score is 5.3, reflecting a medium severity with network attack vector, low attack complexity, no privileges required, no user interaction, and impact limited to integrity.

Potential Impact

The vulnerability allows an attacker to control filenames during file uploads, potentially leading to unauthorized file overwrites or creation. There is no direct impact on confidentiality or availability. The integrity of the system or application data may be compromised due to attacker-controlled filenames.

Mitigation Recommendations

Upgrade httparty to version 0.21.0 or later where this vulnerability is fixed. Patch status is not explicitly confirmed in the provided data, but the vulnerability affects versions before 0.21.0, indicating that 0.21.0 includes the fix. No vendor advisory was provided to contradict this. Until upgrading, avoid processing untrusted multipart/form-data uploads or implement strict validation on filename parameters.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulnCheck
Date Reserved
2024-01-04T18:44:53.108Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 683f0dc2182aa0cae27ff43b

Added to database: 06/03/2025, 14:59:14 UTC

Last enriched: 07/15/2026, 09:45:46 UTC

Last updated: 09/10/2026, 19:36:47 UTC

Views: 150

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses