Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulnerabilities in dependencies flagged on npm audit #393

Open
maries24 opened this issue Sep 29, 2021 · 3 comments
Open

Vulnerabilities in dependencies flagged on npm audit #393

maries24 opened this issue Sep 29, 2021 · 3 comments

Comments

@maries24
Copy link

Hello,

I'm using imagemin-cli (7.0.0) and 3 high severity vulnerabilities are flagged by npm on audit.

Here are the details given; they all boil down to the version of trim-newlines package in use.

High: Regular Expression Denial of Service
Package : trim-newlines
Patched in: >=3.0.1 <4.0.0 || >=4.0.1
Dependency of: imagemin-cli
Path: imagemin-cli > imagemin-gifsicle > gifsicle > logalot > squeak > lpad-align > meow > trim-newlines
More info: https://npmjs.com/advisories/1753

High: Regular Expression Denial of Service
Package : trim-newlines
Patched in: >=3.0.1 <4.0.0 || >=4.0.1
Dependency of: imagemin-cli
Path: imagemin-cli > imagemin-jpegtran > jpegtran-bin > logalot > squeak > lpad-align > meow > trim-newlines
More info: https://npmjs.com/advisories/1753

High: Regular Expression Denial of Service
Package : trim-newlines
Patched in: >=3.0.1 <4.0.0 || >=4.0.1
Dependency of: imagemin-cli
Path: imagemin-cli > imagemin-optipng > optipng-bin > logalot > squeak > lpad-align > meow > trim-newlines
More info: https://npmjs.com/advisories/1753

The fix most probably needs to be done at the level of the meow package (I'll flag it there too) but I thought I'd flag it here as it needs to be implemented 'back up' to this package as far as I'm concerned (if that makes sense).

Many thanks!

@matthewdowns
Copy link

This repo is no longer maintained :(

@hkjeffchan
Copy link

I am maintaining a new version at https://github.com/hkjeffchan/imagemin which includes cjs support and updated dependency if you are interested

@AlonNavon
Copy link

Hey @maries24,

We're part of a startup called Seal Security that mitigates software vulnerabilities in older open source versions by backporting/creating standalone security patches - enabling more straightforward remediation in cases like this. Our patches are all open-source and completely free. See our repository.
If you want us to make a vulnerability-free version of trim-newlines, feel free to reach us at info@seal.security.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants