CVE-2024-50347

CVE-2024-50347 is a high-severity security vulnerability in laravel/reverb (composer), affecting versions < 1.4.0. It is fixed in 1.4.0.

Summary

References

Generating Pusher authentication signatures

Impact

A community member disclosed an issue where verification signatures for requests sent to Reverb's Pusher-compatible API were not being verified. This API is used in scenarios such as broadcasting a message from a backend service or for obtaining statistical information (such as number of connections) about a given channel.

The verification signature is a hash comprised of different parts of the request signed by the app's secret key. The signature is sent as part of the request and should be regenerated by Reverb. Only when both the signature in the request and the one generated by Reverb match should the request be allowed. This helps to verify the request came from a known source.

[!NOTE]
This issue only affects the Pusher-compatible API endpoints and not the WebSocket connections themselves. In order to exploit this vulnerability, the application ID which, should never be exposed, would need to be known by an attacker.

The following endpoints were affected:

POST /events
POST /events_batch
GET /connections
GET /channels
GET /channel
GET /channel_users
POST /users_terminate

Affected versions

laravel/reverb (< 1.4.0)

Security releases

laravel/reverb → 1.4.0 (composer)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

The issue was resolved by #252 and the patch released in v1.4.0.

Frequently Asked Questions

  1. What is CVE-2024-50347? CVE-2024-50347 is a high-severity security vulnerability in laravel/reverb (composer), affecting versions < 1.4.0. It is fixed in 1.4.0.
  2. Which versions of laravel/reverb are affected by CVE-2024-50347? laravel/reverb (composer) versions < 1.4.0 is affected.
  3. Is there a fix for CVE-2024-50347? Yes. CVE-2024-50347 is fixed in 1.4.0. Upgrade to this version or later.
  4. Is CVE-2024-50347 exploitable, and should I be worried? Whether CVE-2024-50347 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  5. What actually determines whether CVE-2024-50347 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  6. How do I fix CVE-2024-50347? Upgrade laravel/reverb to 1.4.0 or later.

Other vulnerabilities in laravel/reverb

CVE-2024-50347

Stop the waste.
Protect your environment with Kodem.