Improper Handling of Length Parameter Inconsistency Affecting web-push package, versions <0.10.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-WEBPUSH-10872146
  • published21 Jul 2025
  • disclosed5 Jul 2025
  • creditUnknown

Introduced: 5 Jul 2025

NewCVE-2025-53604  (opens in a new tab)
CWE-130  (opens in a new tab)

How to fix?

Upgrade web-push to version 0.10.3 or higher.

Overview

web-push is a web push notification client with support for http-ece encryption and VAPID authentication

Affected versions of this package are vulnerable to Improper Handling of Length Parameter Inconsistency via the Web Push endpoint when a large integer is provided in the Content-Length header. An attacker can cause excessive memory consumption by sending a request with an abnormally large Content-Length value.

CVSS Base Scores

version 4.0
version 3.1