Uncontrolled Resource Consumption in LengthPrefixedMessageReaderGHSA-rxmj-hg9v-vp3p
HIGHGHSA-rxmj-hg9v-vp3p is a high-severity (CVSS 7.5) CWE-770 vulnerability in github.com/grpc/grpc-swift. A fix is available for github.com/grpc/grpc-swift — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/grpc/grpc-swiftReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects SwiftURL packages — download data is not available via public APIs for these ecosystems.
Description
Impact
Affected gRPC Swift clients and servers are vulnerable to uncontrolled resource consumption attacks. Excessive memory may be allocated when parsing messages. This can lead to a denial of service.
Patches
The problem has been fixed in 1.2.0.
Workarounds
No workaround is available. Users must upgrade.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦SwiftURL | github.com/grpc/grpc-swift | all versions | 1.2.0 |
Affected Products
grpc swiftlinuxfoundationDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/grpc/grpc-swift, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/grpc/grpc-swift to 1.2.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-rxmj-hg9v-vp3p is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is GHSA-rxmj-hg9v-vp3p in your dependencies?
Find it across SwiftURL, including transitive dependencies.