Skip to content

[Bug Report]: Outdated TensorFlow Sources (CVE-2022-35938) #2022

@Garnik645

Description

@Garnik645

Contact Details

garnik645@gmail.com

What happened?

The master branch of the AliOS-Things project contains unpatched sources from tflite-micro, in which CVE-2022-35938 was reported with critical severity. The function GatherNd from AliOS-Things/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/gather_nd.cc does not include security patches and updates available in newer versions of tflite-micro. The fix for CVE can be found in this commit: tflite-micro commit.

To ensure that all security patches are applied, I strongly recommend updating the tflite-micro files in the project to the latest version available.

My report was primarily based on a static analysis tool developed at CAST, which flagged the potential vulnerability due to similarities in the codebase.

Version

master (Default)

What soultions are you seeing the problem on?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions