CVE-2020-11005: HaemmerElectronics.SeppPenner.WindowsHello Internal NCryptDecrypt Method Could Be Vulnerability

MODERATE
Advisory Identifier: GHSA-wvpv-ffcv-r6cw
CVSS 5.1
CWE-288
Published
Advisory Summary

CVE-2020-11005 is a MODERATE (CVSS 5.1) internal ncryptdecrypt method could be vulnerability (CWE-288: Authentication Bypass Using an Alternate Path or Channel) affecting HaemmerElectronics.SeppPenner.WindowsHello libraries in the NuGet ecosystem. The issue involves internal ncryptdecrypt method could be used externally from windowshello library.. Remediation is available by upgrading affected packages to version 1.0.4.

CVE-2020-11005 at a Glance

CVE Identifier CVE-2020-11005
GHSA Identifier GHSA-wvpv-ffcv-r6cw
Severity MODERATE
CVSS v3.1 Base Score 5.1
CWE Classification CWE-288: Authentication Bypass Using an Alternate Path or Channel
Affected Product HaemmerElectronics.SeppPenner.WindowsHello
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 5.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2020-11005

To remediate this vulnerability, upgrade all affected HaemmerElectronics.SeppPenner.WindowsHello dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

HaemmerElectronics.SeppPenner.WindowsHello fixed: 1.0.4
Upgrade HaemmerElectronics.SeppPenner.WindowsHello to 1.0.4
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for HaemmerElectronics.SeppPenner.WindowsHello

How to Check if You Are Affected

To determine whether your application is affected by CVE-2020-11005, inspect your project dependencies for HaemmerElectronics.SeppPenner.WindowsHello:

inspect dependencies for HaemmerElectronics.SeppPenner.WindowsHello

Analyze the terminal output to locate any version of HaemmerElectronics.SeppPenner.WindowsHello in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.4), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-288: Authentication Bypass Using an Alternate Path or Channel, where the product requires authentication, but the product has an alternate path or channel that does not require authentication. In HaemmerElectronics.SeppPenner.WindowsHello, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Every user of the library before version 1.0.4. ### Patches Patched in 1.0.4+. ### Workarounds None. ### References https://github.com/SeppPenner/WindowsHello/issues/3 ### For more information It this library is used to encrypt text and write the output to a txt file, another executable could be able to decrypt the text using the static method NCryptDecrypt from this same library without the need to use Windows Hello Authentication again.

CVE-2020-11005 Affected HaemmerElectronics.SeppPenner.WindowsHello Versions

1 component(s)
Fixed Versions:
1.0.4
Product / Package Ecosystem Affected Versions Fixed Version
HaemmerElectronics.SeppPenner.WindowsHello
NuGet
< 1.0.4
1.0.4

References

Frequently Asked Questions

What is CVE-2020-11005?
CVE-2020-11005 is a security vulnerability in HaemmerElectronics.SeppPenner.WindowsHello involving Internal NCryptDecrypt method could be used externally from WindowsHello library. under CWE-288: Authentication Bypass Using an Alternate Path or Channel.
Which HaemmerElectronics.SeppPenner.WindowsHello versions are affected?
Affected versions include releases prior to 1.0.4 across affected packages: HaemmerElectronics.SeppPenner.WindowsHello.
What version fixes CVE-2020-11005?
Upgrading to 1.0.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is HaemmerElectronics.SeppPenner.WindowsHello affected?
Yes, HaemmerElectronics.SeppPenner.WindowsHello is affected in releases prior to 1.0.4. Upgrade your dependency to 1.0.4 or later.
What is the CVSS score of CVE-2020-11005?
CVE-2020-11005 has a CVSS v3.1 base score of 5.1 (MODERATE) with vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2020-11005?
CVE-2020-11005 is classified under CWE-288: Authentication Bypass Using an Alternate Path or Channel (The product requires authentication, but the product has an alternate path or channel that does not require authentication.).
How can I check NuGet dependencies for CVE-2020-11005?
Run the dependency tree command: 'inspect dependencies for HaemmerElectronics.SeppPenner.WindowsHello'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wvpv-ffcv-r6cw",
  "modified" : "2021-01-08T20:22:38Z",
  "published" : "2020-04-14T23:09:13Z",
  "aliases" : [ "CVE-2020-11005" ],
  "summary" : "Internal NCryptDecrypt method could be used externally from WindowsHello library.",
  "details" : "### Impact\nEvery user of the library before version 1.0.4.\n\n### Patches\nPatched in 1.0.4+.\n\n### Workarounds\nNone.\n\n### References\nhttps://github.com/SeppPenner/WindowsHello/issues/3\n\n### For more information\nIt this library is used to encrypt text and write the output to a txt file, another executable could be able to decrypt the text using the static method NCryptDecrypt from this same library  without the need to use Windows Hello Authentication again.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "HaemmerElectronics.SeppPenner.WindowsHello"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/SeppPenner/WindowsHello/security/advisories/GHSA-wvpv-ffcv-r6cw"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-11005"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/SeppPenner/WindowsHello/issues/3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-288" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-04-14T22:26:38Z",
    "nvd_published_at" : null
  }
}