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 #24

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

Conversation

naiba4
Copy link
Owner

@naiba4 naiba4 commented Jul 5, 2023

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


Snyk has created this PR to fix one or more vulnerable packages in the `yarn` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • package.json
    • yarn.lock

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.

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
medium severity 658/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
No Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Check the changes in this PR to ensure they won't cause issues with your project.


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

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Regular Expression Denial of Service (ReDoS)

@vercel
Copy link

vercel bot commented Jul 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
1inch-docs ❌ Failed (Inspect) Jul 5, 2023 3:53am

@socket-security
Copy link

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@docusaurus/preset-classic 2.0.0-beta.6...2.0.0 None +15/-14 2.87 MB slorber
docusaurus-theme-search-typesense 0.1.0...0.4.0 None +8/-8 1.58 MB jasonbosco

@socket-security
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.

Issue Package Version Note Source
Chronological version anomaly @docusaurus/theme-translations 2.0.0
Chronological version anomaly @docusaurus/logger 2.0.0
Chronological version anomaly @docusaurus/plugin-debug 2.0.0
Chronological version anomaly @docusaurus/plugin-google-gtag 2.0.0
URL strings @docusaurus/plugin-google-gtag 2.0.0
Chronological version anomaly @docusaurus/module-type-aliases 2.0.0
Chronological version anomaly @docusaurus/mdx-loader 2.0.0
Chronological version anomaly @docusaurus/preset-classic 2.0.0
Dynamic require @docusaurus/preset-classic 2.0.0
Obfuscated require @docusaurus/preset-classic 2.0.0
URL strings @docusaurus/preset-classic 2.0.0
Chronological version anomaly @docusaurus/plugin-sitemap 2.0.0
Chronological version anomaly @docusaurus/plugin-content-pages 2.0.0
Chronological version anomaly @docusaurus/theme-classic 2.0.0
URL strings @docusaurus/theme-classic 2.0.0
Chronological version anomaly @docusaurus/plugin-content-blog 2.0.0
Chronological version anomaly @docusaurus/plugin-google-analytics 2.0.0
URL strings @docusaurus/plugin-google-analytics 2.0.0
Chronological version anomaly @docusaurus/theme-search-algolia 2.0.0
Chronological version anomaly @docusaurus/plugin-content-docs 2.0.0
Chronological version anomaly @docusaurus/theme-common 2.0.0
Minified code typesense-docsearch-react 0.1.0

Next steps

What is a chronological version anomaly?

Semantic versions published out of chronological order.

This could either indicate dependency confusion or a patched vulnerability.

What are URL strings?

Package contains fragments of external URLs or IP addresses, which may indicate that it covertly exfiltrates data.

Avoid using packages that make connections to the network, since this helps to leak data.

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.

What is obfuscated require?

Package accesses dynamic properties of require and may be obfuscating code execution.

The package should not access dynamic properties of module. Instead use import or require directly.

What's wrong with minified code?

This package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.

In many cases minified code is harmless, however minified code can be used to hide a supply chain attack. Consider not shipping minified code on npm.

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 proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore @docusaurus/theme-classic@2.0.0
  • @SocketSecurity ignore @docusaurus/plugin-google-analytics@2.0.0
  • @SocketSecurity ignore @docusaurus/plugin-google-gtag@2.0.0
  • @SocketSecurity ignore @docusaurus/preset-classic@2.0.0
  • @SocketSecurity ignore typesense-docsearch-react@0.1.0
  • @SocketSecurity ignore @docusaurus/theme-translations@2.0.0
  • @SocketSecurity ignore @docusaurus/logger@2.0.0
  • @SocketSecurity ignore @docusaurus/plugin-debug@2.0.0
  • @SocketSecurity ignore @docusaurus/module-type-aliases@2.0.0
  • @SocketSecurity ignore @docusaurus/mdx-loader@2.0.0
  • @SocketSecurity ignore @docusaurus/plugin-sitemap@2.0.0
  • @SocketSecurity ignore @docusaurus/plugin-content-pages@2.0.0
  • @SocketSecurity ignore @docusaurus/plugin-content-blog@2.0.0
  • @SocketSecurity ignore @docusaurus/theme-search-algolia@2.0.0
  • @SocketSecurity ignore @docusaurus/plugin-content-docs@2.0.0
  • @SocketSecurity ignore @docusaurus/theme-common@2.0.0

@sonarcloud
Copy link

sonarcloud bot commented Aug 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

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