[Aikido] Fix 17 security issues in activestorage, msgpack, erb and 4 more - #373
Closed
aikido-autofix[bot] wants to merge 1 commit into
Closed
[Aikido] Fix 17 security issues in activestorage, msgpack, erb and 4 more#373aikido-autofix[bot] wants to merge 1 commit into
aikido-autofix[bot] wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Author
|
Closed by Aikido: a new AutoFix has been created → #376 |
aikido-autofix
Bot
deleted the
fix/AIK-18466-update-packages-88292081-mtgb
branch
August 14, 2026 23:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade dependencies to fix critical security vulnerabilities: Active Storage arbitrary file read via unsafe libvips operations, MessagePack data leakage/corruption and DoS, ERB code execution via marshal deserialization, and RBS parser DoS/crash on invalid input.
✅ 17 CVEs resolved by this upgrade
This PR will resolve the following CVEs:
equal?method on a crafted@_initobject, enabling arbitrary code execution through template evaluation. The fix usesBasicObject#equal?to prevent the bypass.<use>. This permits attackers to inject malicious scripts through SVG local references.hrefattributes to reference external documents and potentially execute scripts or load external content for tracking purposes.hrefattribute on SVG elements, allowing Cross-site Scripting (XSS) attacks through external document references in elements like<use>and<feImage>. This enables arbitrary script execution or external content loading when sanitizing user-supplied SVG.javascript:alert(1)to bypass filtering and execute in browsers.allowed_uri?helper fails to rejectjavascript:URIs when the scheme is split by HTML5 named character references like	or
, allowing attackers to bypass URI validation and execute arbitrary JavaScript. This affects callers of the public helper method and higher-level features like Action Text markdown link validation that render approved URIs into HTML attributes.partial_value, which reads freed memory through stale state pointers.🔗 Related Tasks