Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, when serving files through Active Storage's proxy delivery mode, the proxy controller loads the entire requested byte range into memory before sending it. A request with a large or unbounded Range header (e.g. `bytes=0-`) could cause the server to allocate memory proportional to the file size, possibly resulting in a DoS vulnerability through memory exhaustion. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.
CVE-2026-33174 is a Denial of Service vulnerability in Rails Active Storage proxy delivery mode where large Range header requests cause excessive memory allocation. Attackers can exhaust server memory by requesting large byte ranges, potentially crashing affected applications.
تؤثر هذه الثغرة على تطبيقات Rails التي تستخدم وضع التسليم الوكيل في Active Storage. يمكن للمهاجمين استنزاف ذاكرة الخادم من خلال إرسال طلبات بنطاقات بايت كبيرة أو غير محدودة. قد يؤدي هذا إلى توقف الخدمة وعدم توفر التطبيق.
This vulnerability affects Rails applications using Active Storage proxy delivery, allowing attackers to cause denial of service through memory exhaustion via crafted Range header requests. Saudi organizations running vulnerable Rails versions should immediately update to patched releases.
Update Rails to versions 8.1.2.1, 8.0.4.1, or 7.2.3.1 or later immediately. Implement request size limits and Range header validation at the load balancer or reverse proxy level. Monitor memory usage and implement rate limiting for file download requests.
قم بتحديث Rails إلى الإصدارات 8.1.2.1 أو 8.0.4.1 أو 7.2.3.1 أو أحدث فوراً. طبق حدود حجم الطلب والتحقق من صحة رؤوس Range على مستوى موازن الحمل. راقب استخدام الذاكرة وطبق تحديد معدل الطلبات.