Apache Software Foundation Apache Thrift
Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift: skip() does not apply the recursion limit (Python accelerator, PHP, Perl, Lua, Smalltalk, OCaml)
The protocol skip routine in several Apache Thrift bindings did not apply the binding's recursion limit, so a message that nests unknown fields deeply enough can exhaust the stack. Affected: the Python C++ accelerator (the pure-Python protocols are not affected), the PHP library and its thrift_protocol extension, and the Perl, Lua, Smalltalk and OCaml libraries. This issue affects Apache Thrift: before 0.25.0. Users are recommended to upgrade to version 0.25.0, which fixes the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.25.0
Fixed in 0.25.0
- < 0.25.0
Fixed in 0.25.0
- < 0.25.0
Fixed in 0.25.0
- < 0.25.0
Fixed in 0.25.0
- < 0.25.0
Fixed in 0.25.0
- < 0.25.0
Fixed in 0.25.0
Mitigation
Upgrade Apache Thrift to 0.25.0 or later.
Upgrade Apache Thrift to 0.25.0 or later.
Upgrade Apache Thrift to 0.25.0 or later.
Upgrade Apache Thrift to 0.25.0 or later.
Upgrade Apache Thrift to 0.25.0 or later.
Upgrade Apache Thrift to 0.25.0 or later.
References
- Vendor advisory lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbom…
- Vendor advisory lists.apache.org/thread/6kl6g40tpl8zt3opd8fwn6bsgydd…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.