GHSA-wx84-69jh-jjp2: Sshpk Withdrawn Vulnerability

HIGH
Published
Advisory Summary

GHSA-wx84-69jh-jjp2 is a HIGH withdrawn vulnerability (General Security Weakness) affecting Sshpk libraries in the npm ecosystem. The issue involves withdrawn. Remediation is available by upgrading affected packages to version 1.13.2, 1.14.1.

GHSA-wx84-69jh-jjp2 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-wx84-69jh-jjp2
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Sshpk
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-wx84-69jh-jjp2

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

sshpk fixed: 1.13.2
npm install sshpk@1.13.2
sshpk fixed: 1.14.1
npm install sshpk@1.14.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 sshpk

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-wx84-69jh-jjp2, inspect your project dependencies using npm:

npm ls sshpk

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

Note: The npm ls sshpk 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 Sshpk, 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-2m39-62fm-q8r3

GHSA-wx84-69jh-jjp2 Affected Sshpk Versions

2 component(s)
Fixed Versions:
1.13.21.14.1
Product / Package Ecosystem Affected Versions Fixed Version
sshpk
npm
< 1.13.2
1.13.2
sshpk
npm
≥ 1.14.0
< 1.14.1
All 1 versions
1.14.0
1.14.1

References

Frequently Asked Questions

What is GHSA-wx84-69jh-jjp2?
GHSA-wx84-69jh-jjp2 is a security vulnerability in Sshpk involving Withdrawn under General Security Weakness.
Which Sshpk versions are affected?
Affected versions include releases prior to 1.13.2, 1.14.1 across affected packages: sshpk.
What version fixes GHSA-wx84-69jh-jjp2?
Upgrading to 1.13.2, 1.14.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is sshpk affected?
Yes, sshpk is affected in releases prior to 1.13.2, 1.14.1. Upgrade your dependency to 1.13.2, 1.14.1 or later.
What CWE is associated with GHSA-wx84-69jh-jjp2?
GHSA-wx84-69jh-jjp2 is classified under General Security Weakness.
How can I check npm dependencies for GHSA-wx84-69jh-jjp2?
Run the dependency tree command: 'npm ls sshpk'. 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-wx84-69jh-jjp2",
  "modified" : "2020-08-03T18:22:36Z",
  "published" : "2020-08-03T18:22:36Z",
  "withdrawn" : "2020-08-03T18:22:36Z",
  "aliases" : [ ],
  "summary" : "Withdrawn",
  "details" : "Withdrawn: duplicate of GHSA-2m39-62fm-q8r3",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "sshpk"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.13.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "sshpk"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.14.0"
      }, {
        "fixed" : "1.14.1"
      } ]
    } ],
    "versions" : [ "1.14.0" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://hackerone.com/reports/319593"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/joyent/node-sshpk/blob/v1.13.1/lib/formats/ssh.js#L17"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2019-06-03T17:13:33Z",
    "nvd_published_at" : null
  }
}