cryptoauthlib
Affected
- introduced
0, fixed20200912(ecosystem)
Fixed versions
20200912
Fix
- Fixed version
20200912pip install --upgrade cryptoauthlib==20200912
Advisory
Also known as: None
Buffer overflow in deprecated USB HALs and stack overflow in USB enumeration
Impact
Patches
USB kit enumeration has been patched in v3.2.3 for the hidapi HAL (hal_all_platforms_kit_hidapi.c).
Removal of deprecated HALs
Deprecated usb kit HALs have been removed in v3.2.3.
Workarounds
This vulnerability is limited to users of the kit protocol which is used with Microchip kits and kit firmware to bridge communication from USB-HID to I2C or SWI. It is not expected that kits would be used in an production environment. This is an optional component for users as well so they can always compile the library without the usb support option.
Special python packaging notes
The python package for cryptoauthlib uses date codes for identifying versions. The patched version for python packages is 20200912
References
Please see Microchip PSIRT for Microchip's security policy and reporting procedures
Credits
Special thanks to Ruben Santamarta of IOActive for reporting
Low Basis: The source's own band: LOW
0, fixed 20200912 (ecosystem)20200912
20200912pip install --upgrade cryptoauthlib==20200912Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0