CVE-2024-45607 whatsapp-api-js fails to validate message's signature
MediumCVSS 5.3
EPSS 14.5%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
whatsapp-api-js is a TypeScript server agnostic Whatsapp's Official API framework. It's possible to check the payload validation using the WhatsAppAPI.verifyRequestSignature and expect false when the signature is valid. Incorrect Access Control, anyone using the post or verifyRequestSignature methods to handle messages is impacted. This vulnerability is fixed in 4.0.3.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm whatsapp-api-js(npm) | >= 4.0.0, < 4.0.3 | 4.0.3 | Fixed |
| Secreto31126 whatsapp-api-js | = >= 4.0.0, < 4.0.3; >= 4.0.0, < 4.0.3 | 4.0.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm whatsapp-api-js(npm) | >= 4.0.0, < 4.0.3 | 4.0.3 |
| Secreto31126 whatsapp-api-js | = >= 4.0.0, < 4.0.3 | No fix listed |
| Secreto31126 whatsapp-api-js | >= 4.0.0, < 4.0.3 | 4.0.3 |
References
- https://github.com/Secreto31126/whatsapp-api-js/security/advisories/GHSA-mwhf-vhr5-7j23 vendor-advisory
- https://github.com/Secreto31126/whatsapp-api-js/pull/371 patch
- https://github.com/Secreto31126/whatsapp-api-js/commit/56620c65126427496a94d176082fbd8393a95b6d patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product