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-2023-2251 (High) detected in yaml-1.10.2.tgz, yaml-2.1.1.tgz - autoclosed #3946

Closed
mend-for-github-com bot opened this issue Apr 25, 2023 · 2 comments
Assignees
Labels
cve Security vulnerabilities detected by Dependabot or Mend Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

CVE-2023-2251 - High Severity Vulnerability

Vulnerable Libraries - yaml-1.10.2.tgz, yaml-2.1.1.tgz

yaml-1.10.2.tgz

JavaScript parser and stringifier for YAML

Library home page: https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz

Dependency Hierarchy:

  • stylelint-14.6.1.tgz (Root Library)
    • cosmiconfig-7.0.1.tgz
      • yaml-1.10.2.tgz (Vulnerable Library)
yaml-2.1.1.tgz

JavaScript parser and stringifier for YAML

Library home page: https://registry.npmjs.org/yaml/-/yaml-2.1.1.tgz

Dependency Hierarchy:

  • cli-1.10.4.tgz (Root Library)
    • cli-snapshot-1.10.4.tgz
      • yaml-2.1.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Uncaught Exception in GitHub repository eemeli/yaml prior to 2.2.2.

Publish Date: 2023-04-24

URL: CVE-2023-2251

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: GHSA-f9xv-q969-pqx4

Release Date: 2023-04-24

Fix Resolution (yaml): 2.0.0-0

Direct dependency fix Resolution (stylelint): 15.0.0

Fix Resolution (yaml): 2.2.2

Direct dependency fix Resolution (@percy/cli): 1.11.0

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Apr 25, 2023
@manasvinibs manasvinibs self-assigned this Apr 25, 2023
@manasvinibs
Copy link
Member

yarn why yaml
yarn why v1.22.19
[1/4] Why do we have the module "yaml"...?
[2/4] Initialising dependency graph...
warning Resolution field "typescript@4.0.2" is incompatible with requested version "typescript@~4.5.2"
[3/4] Finding dependency...
[4/4] Calculating file sizes...
=> Found "yaml@2.1.1"
info Has been hoisted to "yaml"
info Reasons this module exists
   - "workspace-aggregator-9c66d9b2-3022-45aa-9af1-45f323c3651b" depends on it
   - Hoisted from "_project_#@percy#cli#@percy#cli-snapshot#yaml"
   - Hoisted from "_project_#@percy#cli#@percy#cli-command#@percy#config#yaml"
info Disk size without dependencies: "1.29MB"
info Disk size with unique dependencies: "1.29MB"
info Disk size with transitive dependencies: "1.29MB"
info Number of shared dependencies: 0
=> Found "cosmiconfig#yaml@1.10.2"
info This module exists because "_project_#stylelint#cosmiconfig" depends on it.
info Disk size without dependencies: "640KB"
info Disk size with unique dependencies: "640KB"
info Disk size with transitive dependencies: "640KB"
info Number of shared dependencies: 0
Done in 0.92s.

@manasvinibs manasvinibs added the cve Security vulnerabilities detected by Dependabot or Mend label Apr 25, 2023
@mend-for-github-com mend-for-github-com bot changed the title CVE-2023-2251 (High) detected in yaml-1.10.2.tgz, yaml-2.1.1.tgz CVE-2023-2251 (High) detected in yaml-1.10.2.tgz, yaml-2.1.1.tgz - autoclosed Apr 27, 2023
@mend-for-github-com
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.

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

No branches or pull requests

1 participant