CVE-2023-50481: Blinksocks Blinksocks Has Weak Encryption Algorithms Vulnerability

MODERATE
Advisory Identifier: GHSA-pqj5-37xf-x5gc
Published
Advisory Summary

CVE-2023-50481 is a MODERATE blinksocks has weak encryption algorithms vulnerability (General Security Weakness) affecting Blinksocks libraries in the npm ecosystem. The issue involves blinksocks has weak encryption algorithms. Remediation is available in the latest vendor maintenance releases.

CVE-2023-50481 at a Glance

CVE Identifier CVE-2023-50481
GHSA Identifier GHSA-pqj5-37xf-x5gc
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Blinksocks
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2023-50481

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

blinksocks fixed: Latest secure release
npm install blinksocks@Latest secure release
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 blinksocks

How to Check if You Are Affected

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

npm ls blinksocks

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

Note: The npm ls blinksocks 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 General Security Weakness. In Blinksocks, 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

An issue was discovered in blinksocks version 3.3.8, allows remote attackers to obtain sensitive information via weak encryption algorithms in the component `/presets/ssr-auth-chain.js`.

CVE-2023-50481 Affected Blinksocks Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
blinksocks
npm
≤ 3.3.8

References

Frequently Asked Questions

What is CVE-2023-50481?
CVE-2023-50481 is a security vulnerability in Blinksocks involving blinksocks has weak encryption algorithms under General Security Weakness.
Which Blinksocks versions are affected?
Affected versions include releases prior to current release patches across affected packages: blinksocks.
What version fixes CVE-2023-50481?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is blinksocks affected?
Yes, blinksocks is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2023-50481?
CVE-2023-50481 is classified under General Security Weakness.
How can I check npm dependencies for CVE-2023-50481?
Run the dependency tree command: 'npm ls blinksocks'. 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-pqj5-37xf-x5gc",
  "modified" : "2023-12-21T18:12:37Z",
  "published" : "2023-12-21T12:30:29Z",
  "aliases" : [ "CVE-2023-50481" ],
  "summary" : "blinksocks has weak encryption algorithms",
  "details" : "An issue was discovered in blinksocks version 3.3.8, allows remote attackers to obtain sensitive information via weak encryption algorithms in the component `/presets/ssr-auth-chain.js`.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "blinksocks"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "3.3.8"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-50481"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/blinksocks/blinksocks/issues/108"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/blinksocks/blinksocks"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/tianjk99/Cryptographic-Misuses/blob/main/CVE-2023-50481.md"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-12-21T18:12:37Z",
    "nvd_published_at" : "2023-12-21T11:15:08Z"
  }
}