CVE-2023-40085: Out of Bounds Read in SUBGRAPH in convertSubgraphFromHAL in ShimConverter.cpp in libneuralnetworks_shim_static

Summary

01/01/2024
Yes i
High
Not published

CVE-2023-40085: In convertSubgraphFromHAL of ShimConverter.cpp, there is a possible out of bounds read due to a missing bounds check. Affects platform/packages/modules/NeuralNetworks across 3 version ranges.

>= 12:0, < 12:2024-01-01 >= 12L:0, < 12L:2024-01-01 >= 13:0, < 13:2024-01-01

Fixed in 12:2024-01-01. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package under scrutiny is platform/packages/modules/NeuralNetworks, which is a part of the Android ecosystem. This package provides functionality for neural networks in Android applications. It allows developers to leverage machine learning capabilities for tasks such as image recognition and natural language processing. The vulnerability affects the convertSubgraphFromHAL function in ShimConverter.cpp, specifically the SUBGRAPH parameter. This vulnerability can lead to an out of bounds read, potentially resulting in local information disclosure. Exploitation does not require user interaction.

Vulnerability Detail

The vulnerability arises due to a missing bounds check in the convertSubgraphFromHAL function of ShimConverter.cpp. This allows an attacker to read data beyond the bounds of the SUBGRAPH parameter, leading to potential information disclosure. The impact of this vulnerability is limited to local information disclosure, and it does not grant additional execution privileges. The vulnerability affects versions 12, 12L, and 13 of the platform/packages/modules/NeuralNetworks package. The fix for this vulnerability was implemented in commit 75ee704ed5feafc05440138863c618fddbf3b8be, which was released on January 1, 2024.

How To Fix

Minimum fixed version

12:2024-01-01

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

In conclusion, the platform/packages/modules/NeuralNetworks package in the Android ecosystem is vulnerable to an out of bounds read in the convertSubgraphFromHAL function. This vulnerability can lead to local information disclosure. To mitigate the risk, developers should update to the latest version of the package that includes the fix commit 75ee704ed5feafc05440138863c618fddbf3b8be. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/packages/modules/NeuralNetworks →

Share this vulnerability

FAQ

The impact of this vulnerability is limited to local information disclosure. It does not grant additional execution privileges.

No, user interaction is not needed for exploitation of this vulnerability.

Versions 12, 12L, and 13 of the platform/packages/modules/NeuralNetworks package are affected.

The fix for this vulnerability was released on January 1, 2024, in commit 75ee704ed5feafc05440138863c618fddbf3b8be.

You can find more information about this vulnerability in the Android Open Source Vulnerability database at the following source: https://storage.googleapis.com/android-osv/ASB-A-269271098.json

Related vulnerabilities

Recent vulnerabilities recorded for platform/packages/modules/NeuralNetworks.

How To Fix

Minimum fixed version

12:2024-01-01

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback