Objenesis before 3.6 contains a type confusion vulnerability that allows code in one class loader to substitute objects into another by exploiting ins...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12objenesis |
All versions→ Not listed |
Not listed |
| Debian:13objenesis |
All versions→ Not listed |
Not listed |
| Debian:14objenesis |
< 3.6-1→ 3.6-1 |
3.6-1 |
Original description The description as published by the source.
Objenesis before 3.6 contains a type confusion vulnerability that allows code in one class loader to substitute objects into another by exploiting instantiator caching keyed on class name. When a shared ObjenesisStd instance caches instantiators by clazz.getName() in ObjenesisBase.getInstantiatorOf(), same-named classes collide, causing newInstance() to return wrong-class objects and ClassCastException failures.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org