Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @floffah/build
  4. ›
  5. GMS-2021-23

GMS-2021-23: Improper Neutralization of Special Elements used in a Command ('Command Injection') in @floffah/build

May 28, 2021

Impact

If you are using the esbuild target or command you are at risk of code/option injection. Attackers can use the command line option to maliciously change your settings in order to damage your project.

Patches

The problem has been patched in v1.0.0 as it uses a proper method to pass configs to esbuild/estrella.

Workarounds

There is no work around. You should update asap.

Notes

This notice is mainly just to make sure people update to the latest version. This isn’t that bad, but should encourage you to update.

References

  • github.com/Floffah/build/security/advisories/GHSA-jcgr-9698-82jx
  • github.com/advisories/GHSA-jcgr-9698-82jx

Code Behaviors & Features

Detect and mitigate GMS-2021-23 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.0

Fixed versions

  • 1.0.0

Solution

Upgrade to version 1.0.0 or above.

Source file

npm/@floffah/build/GMS-2021-23.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:41 +0000.