CVE-2022-35513: Blink1Control2 Blink1Control2 Uses Weak Password Encryption Vulnerability

HIGH
Advisory Identifier: GHSA-jqhq-pfg3-fg5p
CVSS 7.5
CWE-326
Published
Advisory Summary

CVE-2022-35513 is a HIGH (CVSS 7.5) blink1control2 uses weak password encryption vulnerability (CWE-326: Inadequate Encryption Strength) affecting Blink1Control2 libraries in the npm ecosystem. The issue involves blink1control2 uses weak password encryption. Remediation is available by upgrading affected packages to version 2.2.9.

CVE-2022-35513 at a Glance

CVE Identifier CVE-2022-35513
GHSA Identifier GHSA-jqhq-pfg3-fg5p
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-326: Inadequate Encryption Strength
Affected Product Blink1Control2
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 7.5

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
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-2022-35513

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

Blink1Control2 fixed: 2.2.9
npm install Blink1Control2@2.2.9
Verify Direct and Transitive Dependencies

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

npm ls Blink1Control2

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2022-35513, inspect your project dependencies using npm:

npm ls Blink1Control2

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

Note: The npm ls Blink1Control2 command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-326: Inadequate Encryption Strength, where the product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required. In Blink1Control2, 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

The Blink1Control2 application <= 2.2.7 uses weak password encryption and an insecure method of storage. Version 2.2.9 fixes the issue.

CVE-2022-35513 Affected Blink1Control2 Versions

1 component(s)
Fixed Versions:
2.2.9
Product / Package Ecosystem Affected Versions Fixed Version
Blink1Control2
npm
< 2.2.9
2.2.9

References

Frequently Asked Questions

What is CVE-2022-35513?
CVE-2022-35513 is a security vulnerability in Blink1Control2 involving Blink1Control2 uses weak password encryption under CWE-326: Inadequate Encryption Strength.
Which Blink1Control2 versions are affected?
Affected versions include releases prior to 2.2.9 across affected packages: Blink1Control2.
What version fixes CVE-2022-35513?
Upgrading to 2.2.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Blink1Control2 affected?
Yes, Blink1Control2 is affected in releases prior to 2.2.9. Upgrade your dependency to 2.2.9 or later.
What is the CVSS score of CVE-2022-35513?
CVE-2022-35513 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2022-35513?
CVE-2022-35513 is classified under CWE-326: Inadequate Encryption Strength (The product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required.).
How can I check npm dependencies for CVE-2022-35513?
Run the dependency tree command: 'npm ls Blink1Control2'. 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-jqhq-pfg3-fg5p",
  "modified" : "2022-09-16T17:18:14Z",
  "published" : "2022-09-08T00:00:30Z",
  "aliases" : [ "CVE-2022-35513" ],
  "summary" : "Blink1Control2 uses weak password encryption",
  "details" : "The Blink1Control2 application <= 2.2.7 uses weak password encryption and an insecure method of storage. Version 2.2.9 fixes the issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "Blink1Control2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.2.9"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-35513"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/todbot/Blink1Control2/issues/175"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/todbot/Blink1Control2/commit/74827462aba3a26d7bf157522f69eec999d7ba85"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/todbot/Blink1Control2/commit/cd9229ef9131bc663f714150c9f8d5cbf818d620"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/todbot/Blink1Control2/commit/efe174823f67bbdcee8863e02df67a130f132075"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/todbot/Blink1Control2/commit/f595d782d2356878188fed423a7dcb84ee8fee9d"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/p1ckzi/CVE-2022-35513"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/todbot/Blink1Control2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/todbot/Blink1Control2/releases"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/168428/Blink1Control2-2.2.7-Weak-Password-Encryption.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-326" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-09-16T17:18:14Z",
    "nvd_published_at" : "2022-09-07T14:15:00Z"
  }
}