GHSA-9959-c6q6-6qp3: Validator Moderate Severity Vulnerability That Affects Vulnerability

MODERATE
Published
Advisory Summary

GHSA-9959-c6q6-6qp3 is a MODERATE moderate severity vulnerability that affects vulnerability (General Security Weakness) affecting Validator libraries in the npm ecosystem. The issue involves moderate severity vulnerability that affects validator. Remediation is available by upgrading affected packages to version 2.0.0.

GHSA-9959-c6q6-6qp3 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-9959-c6q6-6qp3
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Validator
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-9959-c6q6-6qp3

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

validator fixed: 2.0.0
npm install validator@2.0.0
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 validator

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-9959-c6q6-6qp3, inspect your project dependencies using npm:

npm ls validator

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

Note: The npm ls validator 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 Validator, 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

**Withdrawn:** Duplicate of GHSA-79mx-88w7-8f7q

GHSA-9959-c6q6-6qp3 Affected Validator Versions

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

References

Frequently Asked Questions

What is GHSA-9959-c6q6-6qp3?
GHSA-9959-c6q6-6qp3 is a security vulnerability in Validator involving Moderate severity vulnerability that affects validator under General Security Weakness.
Which Validator versions are affected?
Affected versions include releases prior to 2.0.0 across affected packages: validator.
What version fixes GHSA-9959-c6q6-6qp3?
Upgrading to 2.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is validator affected?
Yes, validator is affected in releases prior to 2.0.0. Upgrade your dependency to 2.0.0 or later.
What CWE is associated with GHSA-9959-c6q6-6qp3?
GHSA-9959-c6q6-6qp3 is classified under General Security Weakness.
How can I check npm dependencies for GHSA-9959-c6q6-6qp3?
Run the dependency tree command: 'npm ls validator'. 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-9959-c6q6-6qp3",
  "modified" : "2020-06-17T16:30:41Z",
  "published" : "2017-10-24T18:33:36Z",
  "withdrawn" : "2020-06-17T16:30:41Z",
  "aliases" : [ ],
  "summary" : "Moderate severity vulnerability that affects validator",
  "details" : "**Withdrawn:** Duplicate of GHSA-79mx-88w7-8f7q",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "validator"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-9772"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-9959-c6q6-6qp3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-17T16:30:41Z",
    "nvd_published_at" : null
  }
}