Skip to content

fix: semver version #3619

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

Closed
1 of 4 tasks
TroyKomodo opened this issue Jun 23, 2023 · 4 comments
Closed
1 of 4 tasks

fix: semver version #3619

TroyKomodo opened this issue Jun 23, 2023 · 4 comments
Labels

Comments

@TroyKomodo
Copy link

Expected Behavior

No CVEs

Current Behavior

Update Semver to patch CVE

pnpm audit
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ moderate            │ semver vulnerable to Regular Expression Denial of      │
│                     │ Service                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ semver                                                 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ <7.5.2                                                 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=7.5.2                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ . > @commitlint/[email protected] > @commitlint/[email protected] > │
│                     │ @commitlint/[email protected] > [email protected]           │
│                     │                                                        │
│                     │ . > [email protected] > @commitlint/[email protected] >       │
│                     │ @commitlint/[email protected] >                              │
│                     │ @commitlint/[email protected] > [email protected]           │
│                     │                                                        │
│                     │ . > @commitlint/[email protected] > @commitlint/[email protected] > │
│                     │ @commitlint/[email protected] >                             │
│                     │ [email protected] > [email protected] >       │
│                     │ [email protected] > [email protected] >                   │
│                     │ [email protected] > [email protected]            │
│                     │                                                        │
│                     │ ... Found 6 paths, run `pnpm why semver` for more      │
│                     │ information                                            │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-c2qf-rxjj-qqgw      │
└─────────────────────┴────────────────────────────────────────────────────────┘
2 vulnerabilities found
Severity: 2 moderate

Affected packages

  • cli
  • core
  • prompt
  • config-angular

Possible Solution

N/A

Steps to Reproduce

N/A

Context

N/A

commitlint --version

@commitlint/[email protected]

git --version

2.34.1

node --version

v18.16.0

@escapedcat
Copy link
Member

@TroyKomodo
Copy link
Author

@escapedcat It seems that some packages are still out of date

┌─────────────────────┬────────────────────────────────────────────────────────┐
│ moderate            │ semver vulnerable to Regular Expression Denial of      │
│                     │ Service                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ semver                                                 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ <7.5.2                                                 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=7.5.2                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ . > @commitlint/[email protected] > @commitlint/[email protected] > │
│                     │ @commitlint/[email protected] >                             │
│                     │ [email protected] > [email protected] >       │
│                     │ [email protected] > [email protected] >                   │
│                     │ [email protected] > [email protected]            │
│                     │                                                        │
│                     │ . > @commitlint/[email protected] > @commitlint/[email protected] > │
│                     │ [email protected] > [email protected] >                  │
│                     │ [email protected] > [email protected] >                   │
│                     │ [email protected] > [email protected]            │
│                     │                                                        │
│                     │ . > [email protected] > @commitlint/[email protected] >       │
│                     │ @commitlint/[email protected] > @commitlint/[email protected] >   │
│                     │ [email protected] > [email protected] >       │
│                     │ [email protected] > [email protected] >                   │
│                     │ [email protected] > [email protected]            │
│                     │                                                        │
│                     │ ... Found 4 paths, run `pnpm why semver` for more      │
│                     │ information                                            │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-c2qf-rxjj-qqgw      │
└─────────────────────┴────────────────────────────────────────────────────────┘

https://www.npmjs.com/package/conventional-commits-parser
https://www.npmjs.com/package/git-raw-commits

@escapedcat
Copy link
Member

Ah thanks, wanna open a PR for these?

@escapedcat escapedcat reopened this Jun 24, 2023
@escapedcat
Copy link
Member

Just saw these are coming from conventional-changelog not commitlint.
An issue already exists: conventional-changelog/conventional-changelog#1019

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

No branches or pull requests

2 participants