High, CVSS 8.1RubyGemsAmendedPublished
TurboBoost Commands vulnerable to arbitrary method invocation
CVE-2024-28181 · GHSA-mp76-7w5v-pr75
- Affected
- RubyGems turbo_boost-commands < 0.1.3; >= 0.2.0, < 0.2.2
- Fixed in
- 0.1.30.2.2· Vendor fix available
- Issue
- Impact TurboBoost Commands has existing protections in place to guarantee that only public methods on Command classes can be invoked; however, the existing checks aren't as robust as they should be. It's possible for a sophisticated attacker to invoke more methods than should be permitted depending on the the strictness of authorization checks that individual applications enforce. Being able to call some of these methods can have security implications. Details Commands verify that the class must be a Command and that the method requested is defined as a public method; however, this isn't robust enough to guard against all unwanted code execution. The library should more strictly enforce which methods are considered safe before allowing them to be executed. Patches Patched in the following versions. - 0.1.3 - NPM Package - Ruby GEM - 0.2.2 - NPM Package - Ruby GEM Workarounds You can add this guard to mitigate the issue if running an unpatched version of the library.
Recommended action: Upgrade to 0.2.2 or 0.1.3 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.