Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please publish a new NPM package #914

Closed
OSdave opened this issue Jun 9, 2023 · 6 comments
Closed

please publish a new NPM package #914

OSdave opened this issue Jun 9, 2023 · 6 comments

Comments

@OSdave
Copy link

OSdave commented Jun 9, 2023

Hi,
I need the last commit about allowing to stub the decode method for a nodejs project I'm working on, would it be possible for you to release a new NPM package with this last commit?
Thank you in advance

@kento-machida
Copy link

We also need to update package latest master version for vulnerability.
(Need decode method unset define property version)

@dvasilen
Copy link

Please also address

CVE-2022-25883 - Medium Severity Vulnerability

Library home page: https://registry.npmjs.org/semver/-/semver-7.5.0.tgz

Dependency Hierarchy:
- jsonwebtoken-9.0.0.tgz
- ❌ semver-7.5.0.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.

Publish Date: 2023-06-21

URL: CVE-2022-25883

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: npm/node-semver#564

Release Date: 2023-06-21

Fix Resolution: semver - 7.5.2

@frankyhun
Copy link

Until a new version will be published, you can force the transient dependency update by adding the following to your package.json:

"overrides": {
"semver": "7.5.3"
}

@lorand-horvath
Copy link

9.0.1 has been published https://www.npmjs.com/package/jsonwebtoken?activeTab=versions

@dvasilen
Copy link

dvasilen commented Jul 6, 2023

That new version v9.0.0...v9.0.1 did not fix the semver vulnerability

@jakelacey2012
Copy link
Contributor

This has been fixed in release v9.0.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants