activestorage is vulnerable to Denial of Service (DoS)
53
CVE Score
Medium
Denial of Service (DoS)
Active Storage proxy downloads in activestorage answer a storage error by calling head to send a 404 or 500. If the error happens after the first chunk, the response is already committed, head replaces the body, and the original Live buffer is never closed. The server thread then blocks until the process restarts, and repeated failed downloads can exhaust the thread pool. The fix re-raises a storage error that occurs after the response is committed so the server closes the stream.
Upgrade the activestorage library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and the application serves Active Storage files through the proxy routes from a streaming storage service.
8.0.0 - 8.0.5.1
Fixed in 8.0.5.28.1.0 - 8.1.4
Fixed in 8.1.4.1activestorage is vulnerable to Denial of Service (DoS) in versions 8.0.0 - 8.0.5.1 and 8.1.0 - 8.1.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.