Skip to content

WS-2022-0280 (Critical) detected in moment-timezone-0.5.33.tgz #83

Open

Description

@mend-for-github-com

WS-2022-0280 - Critical Severity Vulnerability

Vulnerable Library - moment-timezone-0.5.33.tgz

Parse and display moments in any timezone.

Library home page: https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.33.tgz

Sample Path to Dependency File: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • ❌ moment-timezone-0.5.33.tgz (Vulnerable Library)

Found in HEAD commit: 36a9c5d28529109984de6fcc3d0a157d561dac4a

Found in base branch: master

Vulnerability Details

All versions of moment-timezone from 0.1.0 contain build tasks vulnerable to command injection. * if Alice uses tzdata pipeline to package moment-timezone on her own (for example via "grunt data:2014d", where "2014d" stands for the version of the tzdata to be used from IANA's website), * and Alice let's Mallory select the version ("2014d" in our example), then Mallory can execute arbitrary commands on the machine running the grunt task, with the same privilege as the grunt task

Publish Date: 2022-09-01

URL: WS-2022-0280

CVSS 3 Score Details (9.8)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://osv.dev/vulnerability/GHSA-56x4-j7p9-fcf9

Release Date: 2022-09-01

Fix Resolution: 0.5.35


  • Check this box to open an automated fix PR

Activity

  1. changed the title [-]WS-2022-0280 (Medium) detected in moment-timezone-0.5.33.tgz[/-] [+]WS-2022-0280 (High) detected in moment-timezone-0.5.33.tgz[/+] on Oct 12, 2022
  2. changed the title [-]WS-2022-0280 (High) detected in moment-timezone-0.5.33.tgz[/-] [+]WS-2022-0280 (Critical) detected in moment-timezone-0.5.33.tgz[/+] on Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions