Loading...
Skip to main content

CVE-2024-28181 — Vulnerability in turbo_boost-commands — CVE Details

HIGH

TurboBoost Commands vulnerable to arbitrary method invocation

Published March 15, 2024Updated September 10, 2026Source: osv

Summary

### 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](https://www.npmjs.com/package/@turbo-boost/commands/v/0.1.3) - [Ruby GEM](https://rubygems.org/gems/turbo_boost-commands/versions/0.1.3) - 0.2.2 - [NPM Package](https://www.npmjs.com/package/@turbo-boost/commands/v/0.2.2) - [Ruby GEM](https://rubygems.org/gems/turbo_boost-commands/versions/0.2.2) ### Workarounds You can add this guard to mitigate the issue if running an unpatched version of the library. ```ruby class ApplicationCommand < TurboBoost::Commands::Command before_command do method_name = params[:name].include?("#") ? params[:name].split("#").last : :perform ancestors = self.class.ancestors[0..self.class.ancestors.index(TurboBoost::Commands::Command) - 1] allowed = ancestors.any? { |a| a.public_instance_methods(false).any? method_name.to_sym } throw :abort unless allowed # ← blocks invocation # raise "Invalid Command" unless allowed # ← blocks invocation end end ```

Advisory Timeline

  • First published March 15, 2024 (941 days ago).
  • Last revised September 10, 2026 — 908 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update turbo_boost-commands to 0.2.2 or later
gem install turbo_boost-commands -v 0.2.2
npm
Update @turbo-boost/commands to 0.1.3 or later
npm install @turbo-boost/commands@0.1.3
npm
Update @turbo-boost/commands to 0.2.2 or later
npm install @turbo-boost/commands@0.2.2
Bundler
Update turbo_boost-commands to 0.1.3 or later
gem install turbo_boost-commands -v 0.1.3

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 2 ecosystems: npm (1), rubygems (1).

PackageEcosystemAffectedFixed In
turbo_boost-commands
rubygems
0.2.0, 0.2.1, 0.2.1.10.2.2
@turbo-boost/commands
npm
All versions0.1.3
@turbo-boost/commands
npm
All versions0.2.2
turbo_boost-commands
rubygems
0.0.1, 0.0.10, 0.0.11, 0.0.12 (+17 more)0.1.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2024-28181?
TurboBoost Commands vulnerable to arbitrary method invocation This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
How do I check if my project is affected by CVE-2024-28181?
CVE-2024-28181 affects turbo_boost-commands and @turbo-boost/commands. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-28181 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.1

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-mp76-7w5v-pr75

Related CVEs

  • CVE-2026-107375
    HIGH

    JHipster: SQL Injection in the Parameter of JHipster-Generated Reactive (WebFlux + R2DBC) Applicationssort

  • CVE-2026-107384
    HIGH

    MariaDB Connector/Node.js: SQL injection through object keys in SET expansion (permitSetMultiParamEntries)

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies