Summary
labbench before 0.46.1 contains a deserialization of untrusted data vulnerability in read() and read_relational() that passes any file with a .p or .pickle extension to pandas.read_pickle based on the extension alone. Attackers who supply a crafted data file or relational data archive can execute arbitrary code when a user loads it with these functions.
Remediation
References
- Patchhttps://github.com/usnistgov/labbench/commit/ac9b9b18cba67cb8e85eb563b6bb7dc1092b4c54
- Patchhttps://github.com/usnistgov/labbench/pull/32
- Advisoryhttps://www.vulncheck.com/advisories/labbench-before-0.46.1-deserialization-of-untrusted-data-via-read-pickle-auto-dispatch
- Referencehttps://github.com/usnistgov/labbench
- Referencehttps://github.com/usnistgov/labbench/blob/0.46.0/src/labbench/_data.py#L1664-L1666
- Referencehttps://github.com/usnistgov/labbench/blob/0.46.1/ChangeLog.md
- Referencehttps://pypi.org/project/labbench/0.46.1/