CVE-2022-35143: Raneto Raneto V0.17.0 Employs Weak Password Vulnerability

CRITICAL
Advisory Identifier: GHSA-7942-2fx8-qhpf
CVSS 9.8
CWE-521
Published
Advisory Summary

CVE-2022-35143 is a CRITICAL (CVSS 9.8) raneto v0.17.0 employs weak password vulnerability (CWE-521: Weak Password Requirements) affecting Raneto libraries in the npm ecosystem. The issue involves raneto v0.17.0 employs weak password complexity requirements. Remediation is available by upgrading affected packages to version 0.17.1.

CVE-2022-35143 at a Glance

CVE Identifier CVE-2022-35143
GHSA Identifier GHSA-7942-2fx8-qhpf
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-521: Weak Password Requirements
Affected Product Raneto
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 9.8

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:H/A:H).

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 High (I:H)
Availability High (A:H)

How to Fix CVE-2022-35143

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

raneto fixed: 0.17.1
npm install raneto@0.17.1
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 raneto

How to Check if You Are Affected

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

npm ls raneto

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

Note: The npm ls raneto 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-521: Weak Password Requirements, where the product does not require that users should have strong passwords. In Raneto, 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

Raneto v0.17.0 employs weak password complexity requirements, allowing attackers to crack user passwords via brute-force attacks. Version 0.17.1 contains security mitigations for this and other vulnerabilities.

CVE-2022-35143 Affected Raneto Versions

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

References

Frequently Asked Questions

What is CVE-2022-35143?
CVE-2022-35143 is a security vulnerability in Raneto involving Raneto v0.17.0 employs weak password complexity requirements under CWE-521: Weak Password Requirements.
Which Raneto versions are affected?
Affected versions include releases prior to 0.17.1 across affected packages: raneto.
What version fixes CVE-2022-35143?
Upgrading to 0.17.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is raneto affected?
Yes, raneto is affected in releases prior to 0.17.1. Upgrade your dependency to 0.17.1 or later.
What is the CVSS score of CVE-2022-35143?
CVE-2022-35143 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2022-35143?
CVE-2022-35143 is classified under CWE-521: Weak Password Requirements (The product does not require that users should have strong passwords.).
How can I check npm dependencies for CVE-2022-35143?
Run the dependency tree command: 'npm ls raneto'. 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-7942-2fx8-qhpf",
  "modified" : "2022-08-11T15:20:10Z",
  "published" : "2022-08-05T00:00:23Z",
  "aliases" : [ "CVE-2022-35143" ],
  "summary" : "Raneto v0.17.0 employs weak password complexity requirements",
  "details" : "Raneto v0.17.0 employs weak password complexity requirements, allowing attackers to crack user passwords via brute-force attacks. Version 0.17.1 contains security mitigations for this and other vulnerabilities.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "raneto"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.17.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.17.0"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-35143"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ryanlelek/Raneto/pull/370"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ryanlelek/Raneto/commit/55e442c9bc67b845094e14ceb228e95c639595be"
  }, {
    "type" : "WEB",
    "url" : "https://cwe.mitre.org/data/definitions/521.html"
  }, {
    "type" : "WEB",
    "url" : "https://gainsec.com/2022/08/04/cve-2022-35142-cve-2022-35143-cve-2022-35144"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/gilbitron/Raneto/releases"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ryanlelek/Raneto"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ryanlelek/Raneto/releases/tag/0.17.1"
  }, {
    "type" : "WEB",
    "url" : "http://raneto.com"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-521" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-08-11T15:20:10Z",
    "nvd_published_at" : "2022-08-04T20:15:00Z"
  }
}