GHSA-jcgr-9698-82jx

Suggest an improvement
Source
https://github.com/advisories/GHSA-jcgr-9698-82jx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-jcgr-9698-82jx/GHSA-jcgr-9698-82jx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jcgr-9698-82jx
Published
2021-05-28T15:53:40Z
Modified
2021-05-27T21:05:29Z
Summary
Improper Neutralization of Special Elements used in a Command ('Command Injection') in @floffah/build
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-77"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-05-27T21:05:29Z",
    "nvd_published_at":  null,
    "severity":  "LOW"
}
References

Affected packages

npm / @floffah/build

Package

Name
@floffah/build
View open source insights on deps.dev
Purl
pkg:npm/%40floffah/build

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-jcgr-9698-82jx/GHSA-jcgr-9698-82jx.json"