CISA published advisory ICSMA-21-196-01 on July 15, 2021, covering four vulnerabilities in the Ypsomed mylife App, versions before 1.7.5, and the mylife Cloud, versions before 1.7.2. Julian Suleder, Linda Huischen and Nils Emmerich of ERNW Research and Dr. Oliver Matula of ERNW reported them to Germany's BSI under the ManiMed project on manipulation of medical devices.
Two flaws sit in the cloud login flow. The mylife Cloud discloses password hashes during registration (CVE-2021-27491, CVSS v3 5.8). It also reflects the user's password during login after redirecting from an HTTPS endpoint to an HTTP one (CVE-2021-27495, CVSS 6.3, the highest in the set).
The other two concern the app's own encryption layer on top of the transport. It uses non-random IVs (CVE-2021-27499) and derives its protection from hard-coded secrets (CVE-2021-27503), both CVSS 5.4. Either lets a man-in-the-middle tamper with messages.
Ypsomed updated the mylife Cloud backend to fix the server-side issues and recommends users update the app to 1.7.5 or later.
Custom encryption layered over TLS adds code and risk, and here it was built on the two most common crypto mistakes.