thrift is vulnerable to Memory Corruption
87
CVE Score
High
Memory Corruption
writeVarint32() encodes a header field into a fixed 5-byte stack buffer by shifting a signed 32-bit value. A negative value keeps its sign bit through every shift, so the loop never stops and writes past the buffer. The fix encodes an unsigned copy of the value so the loop stays inside the 5-byte buffer.
Upgrade the thrift library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you serialize THeader frames whose protocol id can be a negative value.
0.10.0 - 0.24.0
Fixed in 0.25.0thrift is vulnerable to Memory Corruption in versions 0.10.0 - 0.24.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.