CVE-2024-21491

Versions of the package svix before 1.17.0 are vulnerable to Authentication Bypass due to an issue in the verify function where signatures of different lengths are incorrectly compared. An attacker can bypass signature verification by providing a shorter signature that matches the beginning of the actual signature. **Note:** The attacker would need to know a victim uses the Rust library for verification,no easy way to automatically check that; and uses webhooks by a service that uses Svix, and then figure out a way to craft a malicious payload that will actually include all of the correct identifiers needed to trick the receivers to cause actual issues.
Configurations

Configuration 1 (hide)

cpe:2.3:a:svix:svix:*:*:*:*:*:*:*:*

History

16 Oct 2024, 13:25

Type Values Removed Values Added
CPE cpe:2.3:a:svix:svix:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : 5.9
v2 : unknown
v3 : 6.5
First Time Svix svix
Svix
CWE CWE-347
References () https://github.com/svix/svix-webhooks/commit/958821bd3b956d1436af65f70a0964d4ffb7daf6 - () https://github.com/svix/svix-webhooks/commit/958821bd3b956d1436af65f70a0964d4ffb7daf6 - Patch
References () https://github.com/svix/svix-webhooks/pull/1190 - () https://github.com/svix/svix-webhooks/pull/1190 - Patch
References () https://rustsec.org/advisories/RUSTSEC-2024-0010.html - () https://rustsec.org/advisories/RUSTSEC-2024-0010.html - Third Party Advisory
References () https://security.snyk.io/vuln/SNYK-RUST-SVIX-6230729 - () https://security.snyk.io/vuln/SNYK-RUST-SVIX-6230729 - Third Party Advisory

06 Mar 2024, 14:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 6.8
v2 : unknown
v3 : 5.9

13 Feb 2024, 14:01

Type Values Removed Values Added
Summary
  • (es) Las versiones del paquete svix anteriores a la 1.17.0 son vulnerables a la omisión de autenticación debido a un problema en la función de verificación donde las firmas de diferentes longitudes se comparan incorrectamente. Un atacante puede eludir la verificación de firma proporcionando una firma más corta que coincida con el comienzo de la firma real. **Nota:** El atacante necesitaría saber que la víctima usa la librería Rust para la verificación, no hay una manera fácil de verificarlo automáticamente; y utiliza webhooks de un servicio que utiliza Svix, y luego encuentra una manera de crear una carga útil maliciosa que en realidad incluirá todos los identificadores correctos necesarios para engañar a los receptores y causar problemas reales.

13 Feb 2024, 05:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-02-13 05:15

Updated : 2024-10-16 13:25


NVD link : CVE-2024-21491

Mitre link : CVE-2024-21491

CVE.ORG link : CVE-2024-21491


JSON object : View

Products Affected

svix

  • svix
CWE
CWE-347

Improper Verification of Cryptographic Signature

CWE-288

Authentication Bypass Using an Alternate Path or Channel