Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/svix/svix-webhooks: CVE-2024-21491 #2548

Closed
GoVulnBot opened this issue Feb 13, 2024 · 1 comment
Closed
Assignees
Labels
excluded: NOT_GO_CODE This vulnerability does not refer to a Go module.

Comments

@GoVulnBot
Copy link

CVE-2024-21491 references github.com/svix/svix-webhooks, which may be a Go module.

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.

References:

Cross references:
No existing reports found with this module or alias.

See doc/triage.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/svix/svix-webhooks
      vulnerable_at: 1.17.0
      packages:
        - package: svix
cves:
    - CVE-2024-21491
references:
    - web: https://security.snyk.io/vuln/SNYK-RUST-SVIX-6230729
    - fix: https://github.com/svix/svix-webhooks/pull/1190
    - fix: https://github.com/svix/svix-webhooks/commit/958821bd3b956d1436af65f70a0964d4ffb7daf6
    - advisory: https://rustsec.org/advisories/RUSTSEC-2024-0010.html

@neild neild self-assigned this Feb 28, 2024
@neild neild added the excluded: NOT_GO_CODE This vulnerability does not refer to a Go module. label Feb 29, 2024
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/568036 mentions this issue: data/excluded: batch add 23 excluded reports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
excluded: NOT_GO_CODE This vulnerability does not refer to a Go module.
Projects
None yet
Development

No branches or pull requests

3 participants