Skip to content

cordova-plugin-fingerprint-aio DoS vulnerability

Moderate severity GitHub Reviewed Published Dec 23, 2021 in NiklasMerz/cordova-plugin-fingerprint-aio • Updated Nov 2, 2023

Package

npm cordova-plugin-fingerprint-aio (npm)

Affected versions

< 5.0.1

Patched versions

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:

<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.

References

Published by the National Vulnerability Database Dec 23, 2021
Published to the GitHub Advisory Database Nov 2, 2023
Reviewed Nov 2, 2023
Last updated Nov 2, 2023

Severity

Moderate
6.2
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2021-43849

GHSA ID

GHSA-7vfx-hfvm-rhr8

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.