grpc is vulnerable to Use After Free
59
CVE Score
Medium
Use After Free
The Ruby grpc gem bundles gRPC Core, which maintains a global map of GrpcXdsClient instances keyed by pointers into each client object. When an entry's refcount reaches zero and a replacement client is created for the same key, updating the map could leave the key pointing at freed memory and trigger a use-after-free crash. Concurrent channel creation and teardown in xDS-enabled applications can hit this race and terminate the process. The fix removes zero-refcount entries before inserting a new client and adds regression tests for the stale-key lifetime bug.
Upgrade the grpc library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application uses gRPC xDS client features where channels may be created and torn down concurrently.
1.81.0 - 1.81.0
Fixed in 1.81.1grpc is vulnerable to Use After Free in versions 1.81.0 - 1.81.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.