GitHub Advisoryadvisory · npm
GHSA-7vfx-hfvm-rhr8 cordova-plugin-fingerprint-aio DoS vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2021-43849
- Ecosystem
- npm
- Packages
- cordova-plugin-fingerprint-aio
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-617
- Reviewed
- 2023-11-02
Affected packages
• npm cordova-plugin-fingerprint-aio: < 5.0.1 → fixed in 5.0.1
Description
Summary:
Sending a specially crafted intent with an invalid/empty extras `de.niklasmerz.cordova.biometric.BiometricActivity` can cause the app to crash. sending the intent repeatedly can prevent the app using this plugin from working, resulting in a denial of service (DoS) condition.
Impact
A 3rd party app/remote attacker can exploit this vulnerability by sending a malicious intent to the target device, causing the app using this plugin from working to crash or become unresponsive, resulting in a denial of service (DoS) condition.
Mitigation
Version 5.0.1 of the cordova-plugin-fingerprint-aio doesn't export the activity anymore and is no longer vulnerable.
If you want to fix older versions change the attribute `android:exported` of this code snippet in plugin.xml to `false`:
```xml
```
Patches
Please upgrade to version 5.0.1 as soon as possible.
Please check out the release on GitHub.
For more information
If you have any questions or comments about this advisory please go to the discussion on GitHub.
Related
Alias · CVE (1)
- CVE-2021-43849 cordova-plugin-fingerprint-aio is a plugin provides a single and simple interface for accessing fingerprint APIs on both Android 6+ and iOS. vulnerability
Weakness · CWE (1)
- CWE-617 Reachable Assertion weakness
References
- https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio/security/advisories/GHSA-7vfx-hfvm-rhr8 web
- https://nvd.nist.gov/vuln/detail/CVE-2021-43849 advisory
- https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio/commit/27434a240f97f69fd930088654590c8ba43569df web
- https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio package
- https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio/discussions/394 web
- https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio/releases/tag/v5.0.1 web