Device-os: Unpatched upstream vulnerabilities in mbedtls library

Created on 17 Apr 2018  路  4Comments  路  Source: particle-iot/device-os


submission notes

**Important:** Please sanitize/remove any confidential info like usernames, passwords, org names, product names/ids, access tokens, client ids/secrets, or anything else you don't wish to share.

Please choose one of the following templates **Bug Report** or **Feature/Enhancement Request** and delete the other.

You may also delete this submission notes header if you'd like. Thank you for contributing!

Bug Report

While scanning for unpatched upstream vulnerabilities in opensource projects. I found that there are several unpatched upstream vulnerabilities in mbedtls library.

If possible, upgrade to the latest mbedtls 2.8.0 version

Most helpful comment

@chan0415 - Many thanks for bringing this to our attention. We plan to go ahead and upgrade the Device OS (firmware) to the latest version of mbedtls to fix these CVEs. The work is scheduled to happen within the next week. Assuming the upgrade doesn't cause any regressions and still remains compatible with the DTLS implementation in the cloud, this will be part of the imminent 0.8.0-rc.4 release.

While we don't know of any active exploits of these vulnerabilities, we want to ensure the Device OS remains patched with the latest fixes regularly to close out known vulnerabilities.

I will post here with updates as the work proceeds!

All 4 comments

Thanks so much for the report. 馃檱 We're discussing internally this morning.

@chan0415 - Many thanks for bringing this to our attention. We plan to go ahead and upgrade the Device OS (firmware) to the latest version of mbedtls to fix these CVEs. The work is scheduled to happen within the next week. Assuming the upgrade doesn't cause any regressions and still remains compatible with the DTLS implementation in the cloud, this will be part of the imminent 0.8.0-rc.4 release.

While we don't know of any active exploits of these vulnerabilities, we want to ensure the Device OS remains patched with the latest fixes regularly to close out known vulnerabilities.

I will post here with updates as the work proceeds!

Work has begun integrating the latest (2.8.0) mbedtls implementation into this repo. It's not trivial since our version includes a number of changes relating to TLS certificates, in particular allowing raw certificates, so it's far from simply clicking a button and pulling in the latest changes. This is also due in part to the code being pulled in wholesale into a subdirectory without git assistance.

Going forward, we have a fork of the repo with our changes and will use that as a submodule so that pulling in changes from upstream will be much simpler.

mbedTLS has been upgraded since the posting of this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vielmetti picture vielmetti  路  12Comments

kdhooper picture kdhooper  路  3Comments

jaredwolff picture jaredwolff  路  7Comments

Isawwad picture Isawwad  路  5Comments

technobly picture technobly  路  3Comments