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

CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz #439

Open
mend-bolt-for-github bot opened this issue May 31, 2021 · 4 comments
Open

CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz #439

mend-bolt-for-github bot opened this issue May 31, 2021 · 4 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented May 31, 2021

CVE-2021-33623 - High Severity Vulnerability

Vulnerable Library - trim-newlines-1.0.0.tgz

Trim newlines from the start and/or end of a string

Library home page: https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/get-pkg-repo/node_modules/trim-newlines/package.json

Dependency Hierarchy:

  • conventional-changelog-cli-2.1.1.tgz (Root Library)
    • conventional-changelog-3.1.24.tgz
      • conventional-changelog-core-4.2.2.tgz
        • get-pkg-repo-1.4.0.tgz
          • meow-3.7.0.tgz
            • trim-newlines-1.0.0.tgz (Vulnerable Library)

Found in HEAD commit: b89d9afd75d508a856f18aa876c1d17a9b47a14e

Found in base branch: master

Vulnerability Details

The trim-newlines package before 3.0.1 and 4.x before 4.0.1 for Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end() method.

Publish Date: 2021-05-28

URL: CVE-2021-33623

CVSS 3 Score Details (7.5)

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: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33623

Release Date: 2021-05-28

Fix Resolution (trim-newlines): 3.0.1

Direct dependency fix Resolution (conventional-changelog-cli): 2.2.2


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label May 31, 2021
@github-actions
Copy link

👋 Thanks for reporting!

@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (Medium) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (Medium) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz Jun 1, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (Medium) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz CVE-2021-33623 (Medium) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Jun 1, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (Medium) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (Medium) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz Jun 2, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (Medium) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz CVE-2021-33623 (Medium) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Jun 2, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (Medium) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Jun 6, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz Jun 16, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Jun 17, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz Jun 17, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Jun 18, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz Jun 21, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Jun 21, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz Jul 2, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Jul 3, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz Jul 4, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Jul 4, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz Jul 6, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Jul 6, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz Jul 6, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Jul 7, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz Jul 7, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Jul 7, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz Jul 14, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Jul 16, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz Jul 21, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Jul 21, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz Jul 22, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Jul 22, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz Aug 3, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Aug 10, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz Aug 11, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Aug 13, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz Aug 25, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Aug 25, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz Oct 5, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz, trim-newlines-3.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz Oct 5, 2021
@mend-bolt-for-github
Copy link
Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz - autoclosed Jun 8, 2022
@github-actions
Copy link

github-actions bot commented Jun 8, 2022

Thank you for your report, the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-33623 (High) detected in trim-newlines-3.0.0.tgz, trim-newlines-1.0.0.tgz - autoclosed CVE-2021-33623 (High) detected in trim-newlines-1.0.0.tgz Mar 30, 2024
Copy link
Author

ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants