Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
fix(deps): patch engine.io, brace-expansion, multer and qs advisories
Yudhi Armyndharis963b75e0da26
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex a80dde5b7..c4187db71 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -186,6 +186,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0- The roadmap and the migration guide's upgrade matrix say that from 0.24.0 breaking changes and Upgrade notes ship only in a minor release, and list the earlier patch releases that carried them.- The troubleshooting FAQ no longer links a Discord server the project does not run.+### Dependencies++- `engine.io` 6.6.9 to 6.6.11, closing a high-severity denial-of-service advisory in the Socket.IO transport. It ships in the runtime tree.+- `brace-expansion` 5.0.9 to 5.0.12 via the overrides in both trees, closing two high-severity and one moderate-severity denial-of-service advisories. The root copy ships in the runtime tree.+- `multer` 2.3.0 to 2.4.0 via an override, closing a denial-of-service advisory in which aborted uploads leave orphaned disk writes. It ships in the runtime tree.+- `qs` 6.15.2 to 6.16.0, closing two moderate-severity advisories, an array-limit bypass and a denial of service. It ships in the runtime tree.+- `ip-address` 10.4.0 to 10.7.2 via an override, closing four moderate-severity advisories. It reaches the runtime tree through `socks` and `express-rate-limit`.+- `hono` 4.13.0 to 4.13.11, closing three moderate-severity advisories. It reaches the runtime tree through `@modelcontextprotocol/sdk`.+- `js-yaml` 5.2.2 to 5.4.2 via an override, closing a moderate-severity CPU denial-of-service advisory. It reaches the runtime tree through `@nestjs/swagger`.+- `fast-uri` 3.1.7 to 3.1.8 via an override, closing a moderate-severity host-normalization advisory. It reaches the runtime tree through `@modelcontextprotocol/sdk`.+- `@humanfs/node` 0.16.7 to 0.16.8 in the dashboard tree, closing a moderate-severity advisory. Dev-only, so nothing that ships changes.+### Upgrade notes (behavior changes)- Baileys: poll votes, in-chat pins, keep-in-chat toggles, album headers, encrypted reactions and event RSVPs no longer produce `message.received` or `message.sent` events or stored rows.diff --git a/dashboard/package-lock.json b/dashboard/package-lock.jsonindex 1171bd59e..2ec057fad 100644--- a/dashboard/package-lock.json+++ b/dashboard/package-lock.json@@ -709,29 +709,43 @@}},"node_modules/@humanfs/core": {- "version": "0.19.1",- "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",- "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==",+ "version": "0.19.2",+ "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz",+ "integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==","dev": true,"license": "Apache-2.0",+ "dependencies": {+ "@humanfs/types": "^0.15.0"+ },"engines": {"node": ">=18.18.0"}},"node_modules/@humanfs/node": {- "version": "0.16.7",- "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.7.tgz",- "integrity": "sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==",+ "version": "0.16.8",+ "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz",+ "integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==","dev": true,"license": "Apache-2.0","dependencies": {- "@humanfs/core": "^0.19.1",+ "@humanfs/core": "^0.19.2",+ "@humanfs/types": "^0.15.0","@humanwhocodes/retry": "^0.4.0"},"engines": {"node": ">=18.18.0"}},+ "node_modules/@humanfs/types": {+ "version": "0.15.0",+ "resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz",+ "integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==",+ "dev": true,+ "license": "Apache-2.0",+ "engines": {+ "node": ">=18.18.0"+ }+ },"node_modules/@humanwhocodes/module-importer": {"version": "1.0.1","resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",@@ -980,9 +994,6 @@"arm64"],"dev": true,- "libc": [- "glibc"- ],"license": "MIT","optional": true,"os": [@@ -1000,9 +1011,6 @@"arm64"],"dev": true,- "libc": [- "musl"- ],"license": "MIT","optional": true,"os": [@@ -1020,9 +1028,6 @@"ppc64"],"dev": true,- "libc": [- "glibc"- ],"license": "MIT","optional": true,"os": [@@ -1040,9 +1045,6 @@"s390x"],"dev": true,- "libc": [- "glibc"- ],"license": "MIT","optional": true,"os": [@@ -1060,9 +1062,6 @@"x64"],"dev": true,- "libc": [- "glibc"- ],"license": "MIT","optional": true,"os": [@@ -1080,9 +1079,6 @@"x64"],"dev": true,- "libc": [- "musl"- ],"license": "MIT","optional": true,"os": [@@ -1813,9 +1809,9 @@}},"node_modules/brace-expansion": {- "version": "5.0.9",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.9.tgz",- "integrity": "sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==",+ "version": "5.0.12",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz",+ "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==","dev": true,"license": "MIT","dependencies": {diff --git a/dashboard/package.json b/dashboard/package.jsonindex d4cbf14d4..a6ef7f296 100644--- a/dashboard/package.json+++ b/dashboard/package.json@@ -56,7 +56,7 @@"vite": "^8.3.0"},"overrides": {- "brace-expansion": "^5.0.9",+ "brace-expansion": "^5.0.12","socket.io-parser": "^4.2.7"}}diff --git a/package-lock.json b/package-lock.jsonindex d8572f5de..ef838e5bb 100644--- a/package-lock.json+++ b/package-lock.json@@ -4085,6 +4085,7 @@"version": "0.11.0","resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz","integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",+ "dev": true,"license": "MIT","optional": true,"engines": {@@ -6697,9 +6698,9 @@"license": "MIT"},"node_modules/brace-expansion": {- "version": "5.0.9",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.9.tgz",- "integrity": "sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==",+ "version": "5.0.12",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz",+ "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==","license": "MIT","dependencies": {"balanced-match": "^4.0.2"@@ -6802,6 +6803,7 @@"version": "1.1.2","resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz","integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",+ "dev": true,"license": "MIT"},"node_modules/buildcheck": {@@ -7291,35 +7293,6 @@"url": "https://github.com/sponsors/sindresorhus"}},- "node_modules/concat-stream": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz",- "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==",- "engines": [- "node >= 6.0"- ],- "license": "MIT",- "dependencies": {- "buffer-from": "^1.0.0",- "inherits": "^2.0.3",- "readable-stream": "^3.0.2",- "typedarray": "^0.0.6"- }- },- "node_modules/concat-stream/node_modules/readable-stream": {- "version": "3.6.2",- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",- "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",- "license": "MIT",- "dependencies": {- "inherits": "^2.0.3",- "string_decoder": "^1.1.1",- "util-deprecate": "^1.0.1"- },- "engines": {- "node": ">= 6"- }- },"node_modules/concurrently": {"version": "10.0.5","resolved": "https://registry.npmjs.org/concurrently/-/concurrently-10.0.5.tgz",@@ -8056,16 +8029,15 @@}},"node_modules/engine.io": {- "version": "6.6.9",- "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.6.9.tgz",- "integrity": "sha512-clKkw4C7nJ22mGgoVcCg6V/W/TxdNyIOTr89k2ONZu81qqkddPFDF0LXcbAwhzPD8DjkiRCjzuiO6Y+fkpD4vg==",+ "version": "6.6.11",+ "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.6.11.tgz",+ "integrity": "sha512-z34mGpLoY/82ZbkX1LqGMIaf3wjVMPL6gVC681QDqnmzJ26synI8qAE32P+a7UazmpJZ8UGrFIeAavgRfXzYrg==","license": "MIT","dependencies": {"@types/cors": "^2.8.12","@types/node": ">=10.0.0","@types/ws": "^8.5.12","accepts": "~1.3.4",- "base64id": "2.0.0","cookie": "~0.7.2","cors": "~2.8.5","debug": "~4.4.1",@@ -8696,9 +8668,9 @@"license": "MIT"},"node_modules/fast-uri": {- "version": "3.1.7",- "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.7.tgz",- "integrity": "sha512-dOvZVzjdZdz7phd9v6jCbwxrBW3fK6n8Rc0CtdmM4bumzMnxywBYhuph6J819RRw/ku+rLbelwfMunktuzVVHg==",+ "version": "3.1.8",+ "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz",+ "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==","funding": [{"type": "github",@@ -9296,9 +9268,9 @@}},"node_modules/hono": {- "version": "4.13.0",- "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.0.tgz",- "integrity": "sha512-jhunvfHWxd7J5EFfSgH4xsYJzSe/lfqbUCxiyyeaQasUsXeEHXtzVid+7EOGByc5JnFa23SSFL3Y2RV/z1T+eQ==",+ "version": "4.13.11",+ "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.11.tgz",+ "integrity": "sha512-/SMX/RQNJn7oNmFwH6DtwDqcrzZU2otm1FD6OJe2cWF6cfy/F8hq0XVBv7xW3FTJshRQwuBnXHDq2kNsdZnshg==","license": "MIT","engines": {"node": ">=16.9.0"@@ -9490,9 +9462,9 @@}},"node_modules/ip-address": {- "version": "10.4.0",- "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.4.0.tgz",- "integrity": "sha512-oSK96Grm3aP6OrS263xVxbNDGVL7rzBtYdpGqlDG8iQdoenDoTs/nkki+DflYbAEE8Xl6o5YxhxlrKvI3nqKXQ==",+ "version": "10.7.2",+ "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.2.tgz",+ "integrity": "sha512-7H/2gFSIitxc0hG3nOI1glS8QLo/EHBFFLk8vEUjXY/xu0AdL8jZ9U1IzO2PUm0d2D/ofQcAifb0g6OBkt8U7w==","license": "MIT","engines": {"node": ">= 12"@@ -10276,9 +10248,9 @@"license": "MIT"},"node_modules/js-yaml": {- "version": "5.2.2",- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.2.2.tgz",- "integrity": "sha512-dayzUzKkJ1MkuUtZglSebU43utNXH0OWQByK9rKOOuYIO8M5TV1y+n8ALMdG0rdzBnfNkOmZEqrURepb0ejqBw==",+ "version": "5.4.2",+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.4.2.tgz",+ "integrity": "sha512-m+aqu+LwO1O6sIopafj8HUVl5aawITwZQe/yHpMCKjaWBaA/d07B/QdMb3529REftiU+RMMHL3Vlsw3hON7vWg==","funding": [{"type": "github",@@ -10828,14 +10800,13 @@}},"node_modules/multer": {- "version": "2.3.0",- "resolved": "https://registry.npmjs.org/multer/-/multer-2.3.0.tgz",- "integrity": "sha512-cjNbm3sttszgZeGfJR124D+jFEfkXCVAsoPBmFn9X7UxmDSFHWqE2CoEj0vrmSpuAFnqWR1Szcm9QTsiHr60Xw==",+ "version": "2.4.0",+ "resolved": "https://registry.npmjs.org/multer/-/multer-2.4.0.tgz",+ "integrity": "sha512-7dqa0ZcFfzbefdTuIkzOSMvZWC0J7FLqBOjJUZvDCXShIURWKxAyTT1wHhnE5q19c7jOJf43IYYKjBmZVZmvhg==","license": "MIT","dependencies": {"append-field": "^1.0.0","busboy": "^1.6.0",- "concat-stream": "^2.0.0","type-is": "^1.6.18"},"engines": {@@ -12142,12 +12113,13 @@}},"node_modules/qs": {- "version": "6.15.2",- "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.2.tgz",- "integrity": "sha512-Rzq0KEyX/w/tEybncDgdkZrJgVUsUMk3xjh3t5bv3S1HTAtg+uOYt72+ZfwiQwKdysThkTBdL/rTi6HDmX9Ddw==",+ "version": "6.16.0",+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.0.tgz",+ "integrity": "sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==","license": "BSD-3-Clause","dependencies": {- "side-channel": "^1.1.0"+ "es-define-property": "^1.0.1",+ "side-channel": "^1.1.1"},"engines": {"node": ">=0.6"@@ -12612,14 +12584,14 @@}},"node_modules/side-channel": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz",- "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==",+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz",+ "integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==","license": "MIT","dependencies": {"es-errors": "^1.3.0",- "object-inspect": "^1.13.3",- "side-channel-list": "^1.0.0",+ "object-inspect": "^1.13.4",+ "side-channel-list": "^1.0.1","side-channel-map": "^1.0.1","side-channel-weakmap": "^1.0.2"},@@ -13872,12 +13844,6 @@"integrity": "sha512-EOPFbyIub4ngnEdqi2yOcNeDLaX/0jcE1JoAXQDDMIthap7FoN795lc/SHfIq2d416VufXpM8z/lD+WRm2gfOQ==","license": "MIT"},- "node_modules/typedarray": {- "version": "0.0.6",- "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",- "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==",- "license": "MIT"- },"node_modules/typeorm": {"version": "1.1.1","resolved": "https://registry.npmjs.org/typeorm/-/typeorm-1.1.1.tgz",diff --git a/package.json b/package.jsonindex b5843cceb..4269ad0b0 100644--- a/package.json+++ b/package.json@@ -507,12 +507,12 @@"overrides": {"@puppeteer/browsers": "3.2.1","shell-quote": "^1.10.0",- "brace-expansion": "^5.0.9",- "ip-address": "^10.4.0",+ "brace-expansion": "^5.0.12",+ "ip-address": "^10.7.1","tar": "^7.5.21",- "js-yaml": "^5.2.2",- "fast-uri": "^3.1.7",- "multer": "2.3.0",+ "js-yaml": "^5.4.1",+ "fast-uri": "^3.1.8",+ "multer": "2.4.0","better-sqlite3": "$better-sqlite3","typeorm": {"ioredis": "$ioredis"