[Aikido] Fix 16 security issues in activestorage, msgpack, erb and 5 more - #377
Closed
aikido-autofix[bot] wants to merge 1 commit into
Closed
[Aikido] Fix 16 security issues in activestorage, msgpack, erb and 5 more#377aikido-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 → #385 |
aikido-autofix
Bot
deleted the
fix/AIK-18614-update-packages-90227184-kmz4
branch
August 20, 2026 23:29
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 including arbitrary file read via unsafe libvips operations in Active Storage, data leakage in MessagePack, code execution via ERB deserialization, and memory safety issues in SQLite3 and other libraries.
✅ 16 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.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.hrefattributes to reference external documents and potentially execute scripts or load external content for tracking purposes.🔗 Related Tasks