Skip to content

Version 18.0.2

Choose a tag to compare

@jaydenseric jaydenseric released this 18 Nov 09:03
· 3 commits to master since this release

Patch

  • Fixed security vulnerabilities in the function processRequest (used by the middleware created by the functions graphqlUploadExpress and graphqlUploadKoa) when processing GraphQL multipart requests:
    • Requests with upload map operations object paths containing __proto__ keys or traversing other uploads now result in a HTTP 400 response with a relevant error message, preventing prototype manipulation and upload state corruption that could cause an uncaught exception that terminates the Node.js process. See GHSA-5vm7-vc2x-p3w2.
    • Duplicate file multipart form fields for the same upload map entry are now ignored after the first, preventing temporary file and file descriptor leaks. See GHSA-qwwm-252j-9whw.