CVE-2022-20494: PDoS by large zen rule names in platform/frameworks/base
Summary
CVE-2022-20494: In AutomaticZenRule of AutomaticZenRule.java, there is a possible persistent DoS due to resource exhaustion. Affects platform/frameworks/base across 5 version ranges.
>= 10:0, < 10:2023-01-01
>= 11:0, < 11:2023-01-01
>= 12:0, < 12:2023-01-01
>= 12L:0, < 12L:2023-01-01
>= 13:0, < 13:2023-01-01
Fixed in 10:2023-01-01. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The platform/frameworks/base package is a fundamental component of the Android ecosystem. It provides core functionalities and services for the Android operating system. One of its features is the AutomaticZenRule class, which allows users to define rules for automatic notification management. These rules can control how notifications are handled based on various conditions. However, a vulnerability has been discovered in the AutomaticZenRule class that can lead to a persistent denial of service (PDoS) attack.
Vulnerability Detail
The vulnerability exists in the AutomaticZenRule class of the platform/frameworks/base package. It is caused by a lack of proper resource management, which can result in resource exhaustion and lead to a local denial of service. An attacker can exploit this vulnerability without requiring any additional execution privileges or user interaction. By creating large zen rule names, an attacker can exhaust system resources and cause the device to become unresponsive. This vulnerability affects Android versions 10, 11, 12, 12L, and 13.
How To Fix
Minimum fixed version
10:2023-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
The vulnerability in the AutomaticZenRule class of the platform/frameworks/base package can lead to a persistent denial of service (PDoS) attack. It is important to update the package to the fixed version to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for platform/frameworks/base →
FAQ
The vulnerability can lead to a persistent denial of service (PDoS) attack, causing the affected device to become unresponsive.
No, an attacker can exploit this vulnerability without requiring any additional execution privileges.
No, user interaction is not needed for exploitation of this vulnerability.
This vulnerability affects Android versions 10, 11, 12, 12L, and 13.
Yes, a fix has been released by the Android team. It is recommended to update the platform/frameworks/base package to the fixed version.
Related vulnerabilities
Recent vulnerabilities recorded for platform/frameworks/base.