Skip to content

← Public intelligence

PyPI package

cryptoauthlib

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. UnratedPyPIAmendedPublished

    Buffer overflow in deprecated USB HALs and stack overflow in USB enumeration

    GHSA-f366-4rvv-95x2

    Affected
    • PyPI cryptoauthlib < 20200912
    Fixed in
    20200912· Vendor fix available
    Issue
    Impact 1) If an application is making use of the deprecated kit protocol HALs as the communication channel to the target device an attacker can masquerade as a device and return malformed packets of arbitrary length which the protocol stack will write to the stack. HALs intended for production use are unaffected (I2C, SWI, & SPI) as well as the hidapi HAL (halallplatformskithidapi.c). 2) The hidapi HAL can be made to overrun the application stack by attaching more than 10 (real or virtual) devices likely resulting in an application crash as this does not allow arbitrary data to be written to the stack. Patches USB kit enumeration has been patched in v3.2.3 for the hidapi HAL (halallplatformskithidapi.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…

    Recommended action: Upgrade to 20200912 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →