grpcio is vulnerable to Use After Free
65
CVE Score
Medium
Use After Free
The gRPC Core xDS client keeps a global map from client keys to GrpcXdsClient instances. When an entry's refcount reaches zero and GetOrCreate() replaces the client, insert_or_assign() could update the map value without refreshing the absl::string_view key that still pointed into the freed object. Subsequent lookups then use a dangling key and can trigger a use-after-free crash. The fix erases zero-refcount entries before emplacing a new client and adds regression tests for the map key lifetime.
Upgrade the grpcio library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your deployment uses gRPC xDS (for example xDS resolver targets or xDS bootstrap configuration).
1.81.0 - 1.81.0
Fixed in 1.81.1grpcio 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.