Skip to content

zip-folder dependency relies on outdated archiver #322

@naderm

Description

@naderm

One of electron-forge's dependencies installs an out of date minimatch package that is vulnerable to a DOS exploit. This dependency is required by:

zip-folder@1.0.0 > archiver@^0.11.0 > glob@~3.2.6 > minimatch@0.3

This can easily be fixed by updating zip-folder to use the latest version of archiver. I could report this issue to that project upstream, but it doesn't appear to have been updated since 2014.

The actual meat of zip-folder's code is only 20 lines of code, so it may be better to just incorporate this function / dependencies directly into electron-forge with an updated archiver dependency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions