Wappler NodeJS Projects are currently using express-redis-cache npm library for cache system with Redis.
The Project has been abandoned for nearly 5 years now, the last release being 1.1.3 on Jun 28, 2018.
As it’s built on “redis”: “^2.4.2”, SAST-based tools are picking it up as a vulnerability.
opened 10:54PM - 04 Oct 22 UTC
npm audit identifies a vulnerability
# npm audit report
redis 2.6.0 - 3.1.0
Severity: high
Node-Redis potential exponential regex in monitor mode - https://github.com/advisories/GHSA-35q2-47q7-3pc3
fix available...
Can we have an alternate package to this in wappler, one which is supported and updated with the latest redis or atleast 3.1.2
1 Like
There seems to be a fork that is up-to-date and uses the same API. Or do you have other suggestions as a replacement?
A module to make Express interact with Redis (create, get, delete). You can automatically cache all your most popular routes in Redis.. Latest version: 1.2.1, last published: 7 days ago. Start using express-redis-cache-next in your project by running...
Does ioredis not serve as an alternative @patrick ?
A robust, performance-focused and full-featured Redis client for Node.js.. Latest version: 5.3.2, last published: 12 days ago. Start using ioredis in your project by running `npm i ioredis`. There are 5016 other projects in the npm registry using...
patrick:
There seems to be a fork that is up-to-date and uses the same API. Or do you have other suggestions as a replacement?
npm
A module to make Express interact with Redis (create, get, delete). You can automatically cache all your most popular routes in Redis… Latest version: 1.2.1, last published: 7 days ago. Start using express-redis-cache-next in your project by running…
This fork is not available any more.
Any idea how to replace this to solve a high severity vulnerability?
redis 2.6.0 - 3.1.0
Severity: high
Node-Redis potential exponential regex in monitor mode - https://github.com/advisories/GHSA-35q2-47q7-3pc3
fix available via `npm audit fix`
node_modules/express-redis-cache/node_modules/redis
1 Like
Next update will remove the express-redis-cache dependency and use a custom middleware for caching. Redis package will be updated to version 4.
3 Likes
George
June 6, 2023, 12:02pm
8
this was solved in the Wappler 5.8.0
1 Like