Apache TomEE: Local code execution via predictable passivation files in the shared temporary directory
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 10.3.0, 11.0.0-M2 and 10.0.0-M1.
When a non-default stateful session bean passivation strategy is configured, passivated bean state is written to predictably named files in the shared system temporary directory, reusing files that already exist there, and is deserialized on activation. A local attacker who can write to that directory can read passivated session state or supply data that the server deserializes, potentially leading to code execution as the server process. Users are recommended to upgrade to version 10.3.0 or 11.0.0-M2, which fix the issue.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Apache Software Foundation | >=10.0.0-M1 <10.3.0, >=11.0.0-M1 <11.0.0-M2, >=4.0.0-beta-1 <=4.7.5, >=7.0.0-M1 <10.0.0-M1 | 10.3.0, 11.0.0-M2, 10.0.0-M1 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket