activestorage is vulnerable to Validation Bypass
53
CVE Score
Medium
Validation Bypass
GCSService#url_for_direct_upload in activestorage does not bind the declared content length into the signed direct-upload URL, and the upload headers include no length constraint. A direct-upload client can store a body of any size while the blob keeps the declared byte_size, so application size checks and quotas are skipped. The fix signs an x-goog-content-length-range header that matches the declared size and returns it with the direct-upload headers.
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 accepts direct uploads to Google Cloud Storage.
0.1 - 8.0.5.1
Fixed in 8.0.5.28.1.0 - 8.1.4
Fixed in 8.1.4.1activestorage is vulnerable to Validation Bypass in versions 0.1 - 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.