Patch Changes
-
db33fa7: ####
@wdio/image-comparison-coreand@wdio/ocr-serviceSecurity: update jimp (CVE infile-typetransitive dep)Bumped
jimpto the latest version to resolve a reported vulnerability in itsfile-typetransitive dependency (see #1130, raised by @denis-sokolov, thank you!).Actual impact on these packages
file-typeis used by@jimp/coresolely to detect image MIME types when reading a buffer. In both@wdio/image-comparison-coreand@wdio/ocr-service, every image passed to jimp originates from either WebDriver screenshots (browser-controlled base64 data) or local files written by the framework itself. There is no code path where untrusted external input is fed directly into jimp, which removes the exploitability that the CVE describes.That said, the reputational and compliance risk was real, security scanners flag the package as vulnerable, enterprise users hit audit failures, and some organisations block installation of packages with known CVEs. The update addresses all of that.
@wdio/visual-reporterand@wdio/visual-serviceUpdated internal dependencies to pick up the jimp bump in
@wdio/image-comparison-core.Committers: 1
- Wim Selles (@wswebcreation)