Active Storage: Possible DoS vulnerability in Active Storage filename handling
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| rubygems:activestorage | >= 8.1.0.beta1, < 8.1.4.1 | 8.1.4.1 |
| rubygems:activestorage | < 8.0.5.2 | 8.0.5.2 |
ActiveStorage::Filename#base and #extension_with_delimiter, and therefore #extension, pass the stored filename unmodified to File.basename and File.extname, which raise ArgumentError when the name contains a NUL byte. Active Storage stores the client-supplied filename verbatim, so a user who is permitted to upload an attachment could persist such a filename on databases that accept NUL bytes in string columns, such as SQLite and MySQL/MariaDB. Each subsequent request that builds a variant or pr…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/11/11 06:33、GitHub Advisory Databaseが「Active Storage: Possible DoS vulnerability in Active Storage filename handling」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「警告」(medium) です。関連する技術: Ruby、MySQL / MariaDB、SQLite。CVE: CVE-2026-126074。