GHSA-7vfx-hfvm-rhr8

Suggest an improvement
Source
https://github.com/advisories/GHSA-7vfx-hfvm-rhr8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/11/GHSA-7vfx-hfvm-rhr8/GHSA-7vfx-hfvm-rhr8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7vfx-hfvm-rhr8
Aliases
Related
Published
2023-11-02T20:44:41Z
Modified
2023-11-08T04:07:14.407751Z
Severity
  • 6.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
cordova-plugin-fingerprint-aio DoS vulnerability
Details

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.

Database specific
{
    "nvd_published_at": "2021-12-23T17:15:00Z",
    "cwe_ids": [
        "CWE-617"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-11-02T20:44:41Z"
}
References

Affected packages

npm / cordova-plugin-fingerprint-aio

Package

Name
cordova-plugin-fingerprint-aio
View open source insights on deps.dev
Purl
pkg:npm/cordova-plugin-fingerprint-aio

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.0.1