In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Access of Resource Using Incompatible Type ('Type Confusion') vulnerabilities in an interactive lesson.
Start learningUpgrade pyo3 to version 0.28.2 or higher.
pyo3 is a package that provides Rust bindings for Python. This includes running and interacting with Python code from a Rust binary, as well as writing native Python modules.
Affected versions of this package are vulnerable to Access of Resource Using Incompatible Type ('Type Confusion') via the #[pyclass(extends=PyList)] struct NativeSub support in the abi3 feature. An attacker can cause memory corruption by creating specially crafted subclass hierarchies that trigger type confusion during data access.
Note:
Versions 0.28.0 and 0.28.1 where support for NativeSub was added were removed from package registry.