Semantic-UI icon indicating copy to clipboard operation
Semantic-UI copied to clipboard

NPM vulnerabilities: minimatch, lodash and braces

Open haithamelmengad opened this issue 5 years ago • 3 comments

Hi, thank you for making this module available open source. I'm getting 8 npm vulnerabilities. Willing to help solve this if it creates problems in terms of backwards compatibility.

=== npm audit security report ===

┌──────────────────────────────────────────────────────────────────────────────┐ │ Manual Review │ │ Some vulnerabilities require your attention to resolve │ │ │ │ Visit https://go.npm.me/audit-guide for additional guidance │ └──────────────────────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Regular Expression Denial of Service │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ minimatch │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Patched in │ >=3.0.2 │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ semantic-ui │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ semantic-ui > gulp > vinyl-fs > glob-stream > glob > │ │ │ minimatch │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://npmjs.com/advisories/118 │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Regular Expression Denial of Service │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ minimatch │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Patched in │ >=3.0.2 │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ semantic-ui │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ semantic-ui > gulp > vinyl-fs > glob-stream > minimatch │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://npmjs.com/advisories/118 │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Regular Expression Denial of Service │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ minimatch │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Patched in │ >=3.0.2 │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ semantic-ui │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ semantic-ui > gulp > vinyl-fs > glob-watcher > gaze > │ │ │ globule > glob > minimatch │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://npmjs.com/advisories/118 │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Regular Expression Denial of Service │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ minimatch │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Patched in │ >=3.0.2 │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ semantic-ui │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ semantic-ui > gulp > vinyl-fs > glob-watcher > gaze > │ │ │ globule > minimatch │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://npmjs.com/advisories/118 │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Low │ Prototype Pollution │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Patched in │ >=4.17.5 │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ semantic-ui │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ semantic-ui > gulp > vinyl-fs > glob-watcher > gaze > │ │ │ globule > lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://npmjs.com/advisories/577 │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Prototype Pollution │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Patched in │ >=4.17.11 │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ semantic-ui │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ semantic-ui > gulp > vinyl-fs > glob-watcher > gaze > │ │ │ globule > lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://npmjs.com/advisories/782 │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Prototype Pollution │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Patched in │ >=4.17.12 │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ semantic-ui │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ semantic-ui > gulp > vinyl-fs > glob-watcher > gaze > │ │ │ globule > lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://npmjs.com/advisories/1065 │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Low │ Regular Expression Denial of Service │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ braces │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Patched in │ >=2.3.1 │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ semantic-ui │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ semantic-ui > gulp-watch > anymatch > micromatch > braces │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://npmjs.com/advisories/786 │ └───────────────┴──────────────────────────────────────────────────────────────┘

haithamelmengad avatar Jan 21 '20 21:01 haithamelmengad

Should be fixed in the community fork https://github.com/fomantic/Fomantic-UI, which uses Gulp 4

lubber-de avatar Jan 22 '20 11:01 lubber-de

Saw that in a similar issue but I'm using semantic-ui-react, can't switch to Fomantic. Thanks for letting me know though!

haithamelmengad avatar Jan 23 '20 01:01 haithamelmengad

Gulp is now updated to 4 with version 2.5 of SUI. There are now other security issues, but I think it is worth closing this issue @haithamelmengad

mcrawshaw avatar Jan 15 '23 21:01 mcrawshaw