CVE-2021-43849 — cordova-plugin-fingerprin…
MEDIUMFix: NiklasMerz/cordova-plugin-fingerprint-aio@27434a2CVE-2021-43849 is a medium-severity (CVSS 5.5) Reachable Assertion vulnerability in cordova-plugin-fingerprint-aio. A fix is available for cordova-plugin-fingerprint-aio — see the affected versions and patch details below.
cordova-plugin-fingerprint-aio DoS vulnerability
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
cordova-plugin-fingerprint-aionpmDescription
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:
<config-file target="AndroidManifest.xml" parent="application">
<activity android:name="de.niklasmerz.cordova.biometric.BiometricActivity" android:theme="@style/TransparentTheme" android:exported="false"/>
</config-file>
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | cordova-plugin-fingerprint-aio | all versions | 5.0.1npm install cordova-plugin-fingerprint-aio@5.0.1 |
Affected Products
cordova plugin fingerprint all-in-onecordova_plugin_fingerprint_all-in-one_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for cordova-plugin-fingerprint-aio, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update cordova-plugin-fingerprint-aio to 5.0.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-43849 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is CVE-2021-43849 in your dependencies?
Find it across npm, including transitive dependencies.