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

[Snyk] Fix for 1 vulnerabilities #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

naiba4
Copy link
Owner

@naiba4 naiba4 commented Jun 17, 2024

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning ``` Failed to update the yarn.lock, please update manually before merging. ```

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Denial of Service (DoS)
SNYK-JS-WS-7266574
  170  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Denial of Service (DoS)

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-WS-7266574
Copy link

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Trivial Package npm/[email protected]
Unmaintained npm/[email protected]
  • Last Publish: 9/6/2016, 9:11:09 PM
Unmaintained npm/[email protected]
  • Last Publish: 7/22/2014, 6:50:49 AM
Unmaintained npm/[email protected]
  • Last Publish: 8/2/2018, 6:03:51 PM
Unmaintained npm/[email protected]
  • Last Publish: 2/19/2017, 2:28:49 PM
Unmaintained npm/[email protected]
  • Last Publish: 6/27/2018, 1:02:41 PM
Unmaintained npm/[email protected]
  • Last Publish: 8/19/2017, 2:34:34 AM
New author npm/[email protected]
Unmaintained npm/[email protected]
  • Last Publish: 4/20/2017, 4:43:13 AM
Unmaintained npm/[email protected]
  • Last Publish: 1/16/2017, 3:35:15 PM
Trivial Package npm/[email protected]
Unmaintained npm/[email protected]
  • Last Publish: 5/30/2017, 4:25:21 AM
Unmaintained npm/[email protected]
  • Last Publish: 11/8/2018, 11:18:38 AM
Environment variable access npm/[email protected]
Unmaintained npm/[email protected]
  • Last Publish: 6/25/2017, 11:48:15 AM
Network access npm/[email protected]
Unmaintained npm/[email protected]
  • Last Publish: 1/18/2016, 2:53:56 AM
Unmaintained npm/[email protected]
  • Last Publish: 11/8/2018, 11:14:15 AM
Environment variable access npm/[email protected]
Environment variable access npm/[email protected]
Environment variable access npm/[email protected]
Unmaintained npm/[email protected]
  • Last Publish: 1/5/2016, 3:03:55 AM
Environment variable access npm/[email protected]
Environment variable access npm/[email protected]
Environment variable access npm/[email protected]
Filesystem access npm/[email protected]
Unmaintained npm/[email protected]
  • Last Publish: 4/16/2019, 4:16:26 AM
Unmaintained npm/[email protected]
  • Last Publish: 4/26/2017, 12:34:27 PM
Unmaintained npm/[email protected]
  • Last Publish: 9/21/2016, 10:55:58 PM
Unmaintained npm/[email protected]
  • Last Publish: 9/27/2017, 10:09:20 PM
CVE npm/[email protected]
Critical CVE npm/[email protected]
Unmaintained npm/[email protected]
  • Last Publish: 5/1/2017, 9:02:36 PM
Trivial Package npm/[email protected]
Unmaintained npm/[email protected]
  • Last Publish: 1/31/2017, 6:58:24 PM
Floating dependency npm/[email protected]
Deprecated npm/[email protected]
  • Reason: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
New author npm/[email protected]
Deprecated npm/[email protected]
  • Reason: This module has been superseded by the multiformats module
Deprecated npm/[email protected]
  • Reason: This module has been superseded by the multiformats module
Unmaintained npm/[email protected]
  • Last Publish: 12/20/2016, 2:27:28 AM
Unmaintained npm/[email protected]
  • Last Publish: 10/13/2017, 12:48:00 AM
Network access npm/[email protected]
Unmaintained npm/[email protected]
  • Last Publish: 5/21/2018, 12:43:35 AM
Unmaintained npm/[email protected]
  • Last Publish: 9/3/2015, 6:44:19 AM
Unmaintained npm/[email protected]
  • Last Publish: 6/21/2014, 1:37:39 PM
Filesystem access npm/[email protected]
Dynamic require npm/[email protected]
Filesystem access npm/[email protected]
Dynamic require npm/[email protected]
Dynamic require npm/[email protected]
Dynamic require npm/[email protected]
Dynamic require npm/[email protected]
Dynamic require npm/[email protected]
Environment variable access npm/[email protected]
Dynamic require npm/[email protected]
CVE npm/[email protected]
Filesystem access npm/[email protected]
Network access npm/[email protected]
Network access npm/[email protected]
Network access npm/[email protected]

View full report↗︎

Next steps

What are trivial packages?

Packages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.

Removing this package as a dependency and implementing its logic will reduce supply chain risk.

What are unmaintained packages?

Package has not been updated in more than 5 years and may be unmaintained. Problems with the package may go unaddressed.

Package should publish periodic maintenance releases if they are maintained, or deprecate if they have no intention in further maintenance.

What is new author?

A new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.

Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.

What is environment variable access?

Package accesses environment variables, which may be a sign of credential stuffing or data theft.

Packages should be clear about which environment variables they access, and care should be taken to ensure they only access environment variables they claim to.

What is network access?

This module accesses the network.

Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

What is filesystem access?

Accesses the file system, and could potentially read sensitive data.

If a package must read the file system, clarify what it will read and ensure it reads only what it claims to. If appropriate, packages can leave file system access to consumers and operate on data passed to it instead.

What is a CVE?

Contains a high severity Common Vulnerability and Exposure (CVE).

Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

What is a critical CVE?

Contains a Critical Common Vulnerability and Exposure (CVE).

Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

What are floating dependencies?

Package has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.

Packages should specify properly semver ranges to avoid version conflicts.

What is a deprecated package?

The maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.

Research the state of the package and determine if there are non-deprecated versions that can be used, or if it should be replaced with a new, supported solution.

What is dynamic require?

Dynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.

Packages should avoid dynamic imports when possible. Audit the use of dynamic require to ensure it is not executing malicious or vulnerable code.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proc

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

Successfully merging this pull request may close these issues.

2 participants