A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Active Storage makes it simple to upload and reference files in cloud services and attach those files to Active Record objects. Prior to 8.0.5.2 and from 8.1 until 8.1.4.1, Active Storage's ActiveStorage::Previewer::VideoPreviewer, ActiveStorage::Analyzer::VideoAnalyzer, and ActiveStorage::Analyzer::AudioAnalyzer pass uploaded blob contents to FFmpeg without restricting the demuxer. A direct upload can retain a client-declared video/* or audio/* content type for an HLS playlist. FFmpeg content probing selects the hls demuxer, which opens attacker-named file:// segments when the blob is previewed or analyzed. Applications that accept untrusted uploads and generate video previews or analyze video or audio attachments can disclose a local media file readable by the application process when the attacker knows its path. This issue is fixed in versions 8.0.5.2 and 8.1.4.1.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /rails/rails/commit/3b1f2627538dc597cd973530c08514a26c2b0282
- github.com /rails/rails/commit/69aff80d115bbb9d1e82fd6c6f2fd3ddeafb958b
- github.com /rails/rails/releases/tag/v8.0.5.2
- github.com /rails/rails/releases/tag/v8.1.4.1
- github.com /rails/rails/security/advisories/GHSA-3f4q-8x5m-76v8
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning