CVE-2019-0205 — libthrift
HIGHCVE-2019-0205 is a high-severity (CVSS 7.5) CWE-835 vulnerability in org.apache.thrift:libthrift. A fix is available for org.apache.thrift:libthrift — see the affected versions and patch details below.
Loop with Unreachable Exit Condition in Apache Thrift
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2019-0205 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 384,189 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
org.apache.thrift:libthriftReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
In Apache Thrift all versions up to and including 0.12.0, a server or client may run into an endless loop when feed with specific input data. Because the issue had already been partially fixed in version 0.11.0, depending on the installed version it affects only certain language bindings.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.thrift:libthrift | all versions | 0.13.0org.apache.thrift:libthrift:0.13.0 |
Affected Products
thriftapachecommunications cloud native core network slice selection functionoraclejboss enterprise application platformredhatDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.thrift:libthrift, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.thrift:libthrift to 0.13.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2019-0205 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Red Hat OpenStack Platform ships OpenDaylight, which contains a vulnerable version of libthrift. However, OpenDaylight does not expose libthrift in a vulnerable way, lowering the impact of the vulnerability for OpenDaylight. As such, Red Hat will not be providing a fix for OpenDaylight at this time. The thrift package…
| Product | Fixed in | Advisory |
|---|---|---|
| EAP-CD 19 Tech Preview | libthrift | RHSA-2020:2333 |
| Red Hat Data Grid 7.3.6 | libthrift | RHSA-2020:2321 |
| Red Hat Fuse 7.8.0 | libthrift | RHSA-2020:5568 |
| Red Hat JBoss EAP 7 | libthrift | RHSA-2020:2515 |
| Red Hat JBoss EAP 7.2 | libthrift | RHSA-2020:0811 |
| Red Hat JBoss Enterprise Application Platform 7 | libthrift | RHSA-2020:0961 |
| Red Hat JBoss Enterprise Application Platform 7.2 for RHEL 6 | eap7-activemq-artemis-0:2.9.0-2.redhat_00009.1.el6eap | RHSA-2020:0804 |
| Red Hat JBoss Enterprise Application Platform 7.2 for RHEL 7 | eap7-activemq-artemis-0:2.9.0-2.redhat_00009.1.el7eap | RHSA-2020:0805 |
Frequently Asked Questions
Is CVE-2019-0205 in your dependencies?
Find it across Maven, including transitive dependencies.