nsfwjs
nsfwjs copied to clipboard
Bump to [email protected]
Denial of Service (DoS) Affected module: [email protected]
Introduced through: [email protected]
Exploit maturity: No known exploit
Fixed in: [email protected]
Detailed paths
Introduced through: [email protected] › @nsfw-filter/[email protected] › [email protected] › [email protected] Overview
Affected versions of this package are vulnerable to Denial of Service (DoS). The attacker could manipulate the exif data in the image file such as change the image pixel to 64250x64250pixels. If the module loaded the crafted image, it tries to allocate 4128062500 pixels into memory.
And maybe add snyk to this repo to auto-create these PRs.
thanks for creating this issue got that as a dependabot alert too
I've got it updated in master. This should have shipped with v2.4.0 https://github.com/infinitered/nsfwjs/releases/tag/v2.4.0
What version did you get this error with?
Ahhh, sorry, it's here: https://github.com/nsfw-filter/gif-frames
Please PR there, and I'll pull in the new version here, and then release 2.4.1
Would anyone like to go do the PR on this?