返回首页
Socket Blog··论文与技术

Free Certified Patch for Critical Rails Active Storage Vulnerability

中文摘要

Ruby on Rails 发布了针对 21 个漏洞的安全更新,包括关键的 Active Storage 漏洞。Socket 将提供免费补丁,以防止远程代码执行。

English Summary

Ruby on Rails released updates for 21 vulnerabilities, including a critical Active Storage flaw. Socket is offering a free Certified Patch to prevent arbitrary file writes and RCE.

原文节选

Ruby on Rails has released security updates addressing 21 vulnerabilities, including a critical Active Storage flaw that could allow unauthenticated attackers to write arbitrary files to a server through crafted uploads. Under certain configurations, attackers may also be able to read sensitive files, potentially leading to remote code execution. Socket is releasing a free Certified Patch for the critical vulnerability, tracked as GHSA-f3w6-w445-fwh9 (CVSS 9.8). The patch is available to everyone, including developers and organizations that are not Socket customers, providing an additional remediation option for teams that cannot immediately upgrade Rails. Impact # The vulnerability affects Rails applications that use ImageMagick to process Active Storage attachments. ImageMagick supports multiple file format handlers, known as coders, some of which can access files outside the uploaded image. Active Storage did not restrict these coders, potentially allowing an attacker to invoke dangerous operations through a crafted upload. Active Storage automatically analyzes files when they are attached, so exploitation does not require a separate preview, image transformation, or explicit an…