CVE-2024-40659: AndroidKeyStore Key Generation Feature Disabling in RemoteKeyProvisioning

platform/frameworks/base Updated 02 Oct 2025

Summary

01/09/2024
Yes i
High
Not published

CVE-2024-40659: In getRegistration of RemoteProvisioningService.java, there is a possible way to permanently disable the AndroidKeyStore key generation feature by updating the attestation keys of all installed apps due to improper input... Affects platform/frameworks/base versions >= 15-next:0, < 15-next:2024-09-01. Fixed in 15-next:2024-09-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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The RemoteKeyProvisioning package in the Android ecosystem is responsible for handling remote key provisioning for Android devices. It allows apps to generate and manage cryptographic keys securely. The AndroidKeyStore is a key management system that provides secure storage and retrieval of cryptographic keys. It ensures that keys are protected and cannot be extracted from the device. However, a vulnerability has been discovered in the RemoteKeyProvisioning package that allows an attacker to disable the AndroidKeyStore key generation feature permanently.

Vulnerability Detail

The vulnerability exists in the getRegistration function of the RemoteProvisioningService.java file. Due to improper input validation, an attacker can update the attestation keys of all installed apps, which leads to the permanent disabling of the AndroidKeyStore key generation feature. This vulnerability can be exploited locally without requiring any additional execution privileges or user interaction. The impact of this vulnerability is a local denial of service, rendering the AndroidKeyStore key generation feature unusable.

How To Fix

Minimum fixed version

15-next:2024-09-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 known workaround for this vulnerability. It is necessary to apply the provided fixes to address the issue.

Conclusion

The vulnerability in the RemoteKeyProvisioning package allows an attacker to permanently disable the AndroidKeyStore key generation feature. This can lead to a local denial of service. It is crucial to update the affected packages to mitigate the vulnerability.

See every vulnerability recorded for platform/frameworks/base →

Share this vulnerability

FAQ

The impact of this vulnerability is a local denial of service, as it permanently disables the AndroidKeyStore key generation feature.

No, this vulnerability can only be exploited locally.

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

The RemoteKeyProvisioning package and the Permission package in the Android ecosystem are affected.

Yes, fixes for the RemoteKeyProvisioning package and the Permission package have been provided. It is recommended to update to the latest versions of these packages.

Related vulnerabilities

Recent vulnerabilities recorded for platform/frameworks/base.

How To Fix

Minimum fixed version

15-next:2024-09-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