6.5
MEDIUM
CVE-2024-21491
Apache svix Authentication Bypass
Description

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.

INFO

Published Date :

Feb. 13, 2024, 5:15 a.m.

Last Modified :

Nov. 21, 2024, 8:54 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2024-21491 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Svix svix

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-21491 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-21491 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/svix/svix-webhooks/commit/958821bd3b956d1436af65f70a0964d4ffb7daf6
    Added Reference https://github.com/svix/svix-webhooks/pull/1190
    Added Reference https://rustsec.org/advisories/RUSTSEC-2024-0010.html
    Added Reference https://security.snyk.io/vuln/SNYK-RUST-SVIX-6230729
  • Initial Analysis by [email protected]

    Oct. 16, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
    Changed Reference Type https://github.com/svix/svix-webhooks/commit/958821bd3b956d1436af65f70a0964d4ffb7daf6 No Types Assigned https://github.com/svix/svix-webhooks/commit/958821bd3b956d1436af65f70a0964d4ffb7daf6 Patch
    Changed Reference Type https://github.com/svix/svix-webhooks/pull/1190 No Types Assigned https://github.com/svix/svix-webhooks/pull/1190 Patch
    Changed Reference Type https://rustsec.org/advisories/RUSTSEC-2024-0010.html No Types Assigned https://rustsec.org/advisories/RUSTSEC-2024-0010.html Third Party Advisory
    Changed Reference Type https://security.snyk.io/vuln/SNYK-RUST-SVIX-6230729 No Types Assigned https://security.snyk.io/vuln/SNYK-RUST-SVIX-6230729 Third Party Advisory
    Added CWE NIST CWE-347
    Added CPE Configuration OR *cpe:2.3:a:svix:svix:*:*:*:*:*:*:*:* versions up to (excluding) 1.17.0
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Mar. 06, 2024

    Action Type Old Value New Value
    Removed CVSS V3.1 Snyk AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
    Added CVSS V3.1 Snyk AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N
  • CVE Received by [email protected]

    Feb. 13, 2024

    Action Type Old Value New Value
    Added Description 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.
    Added Reference Snyk https://security.snyk.io/vuln/SNYK-RUST-SVIX-6230729 [No types assigned]
    Added Reference Snyk https://github.com/svix/svix-webhooks/pull/1190 [No types assigned]
    Added Reference Snyk https://github.com/svix/svix-webhooks/commit/958821bd3b956d1436af65f70a0964d4ffb7daf6 [No types assigned]
    Added Reference Snyk https://rustsec.org/advisories/RUSTSEC-2024-0010.html [No types assigned]
    Added CWE Snyk CWE-288
    Added CVSS V3.1 Snyk AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-21491 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-21491 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.05 }} 0.01%

score

0.22794

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability