Middleware and a scalar Upload to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.
CVE-2021-23434
moderate severity
Vulnerable versions: < 0.11.6
Patched version: 0.11.6
This affects the package object-path before 0.11.6. A type confusion vulnerability can lead to a bypass of CVE-2020-15256 when the path components used in the path parameter are arrays. In particular, the condition currentPath === 'proto' returns false if currentPath is ['proto']. This is because the === operator returns always false when the type of the operands is different.
there's a github advisory about a security fix and it affects downstream clients.
updating this means clients can just update to latest version of this and get the change https://github.com/advisories/GHSA-cwx2-736x-mf6w
npm test
passes