Skip to content

[Snyk] Fix for 4 vulnerabilities#3

Open
shafnirlab wants to merge 1 commit intomasterfrom
snyk-fix-52418bc814df1511a1a8fb961b432b1b
Open

[Snyk] Fix for 4 vulnerabilities#3
shafnirlab wants to merge 1 commit intomasterfrom
snyk-fix-52418bc814df1511a1a8fb961b432b1b

Conversation

@shafnirlab
Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to fix 4 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Arbitrary Code Injection
SNYK-JS-UNDERSCORE-1080984
  175  
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
  159  
high severity Prototype Pollution
SNYK-JS-INI-1048974
  149  
medium severity Regular Expression Denial of Service (ReDoS)
npm:semver:20150403
  46  

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:

🦉 Prototype Pollution
🦉 Regular Expression Denial of Service (ReDoS)
🦉 Arbitrary Code Injection

@shafnirlab
Copy link
Copy Markdown
Owner Author

Logo
Checkmarx One – Scan Summary & Details3c0670c7-26cb-4bfc-a2f6-7044356d15cb

New Issues (20)

Checkmarx found the following issues in this Pull Request

Severity Issue Source File / Package Checkmarx Insight
CRITICAL CVE-2025-23061 Npm-mongoose-4.2.4
detailsRecommended version: 6.13.6
Description: Mongoose versions prior to 6.13.6, 7.x prior to 7.8.4 and 8.x prior to 8.9.5 can improperly use a nested "$where" filter with a "populate()" match,...
Attack Vector: NETWORK
Attack Complexity: HIGH

ID: Yey3bKO47Wi7D8ydlZDMQv21jK3DCgiMzNw%2BQ2hbbsE%3D
Vulnerable Package
CRITICAL Cx88b46a98-47a5 Npm-elliptic-6.4.1
detailsRecommended version: 6.6.1
Description: The elliptic package is a plain JavaScript implementation of elliptic-curve cryptography. Versions of elliptic package prior to 6.6.1 are vulnerabl...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: arzOIzPA0ar%2B7PmD4WalNuluQ%2BYb0z0wffvIK0qa27o%3D
Vulnerable Package
HIGH Missing User Instruction /Dockerfile: 1
detailsA user should be specified in the dockerfile, otherwise the image will run as root
ID: TqERt3DQyX3Ca6FIe%2FmiFFUx3zE%3D
MEDIUM CVE-2018-25110 Npm-marked-0.3.5
detailsRecommended version: 4.0.10
Description: Marked prior to version 0.3.17 is vulnerable to a Regular Expression Denial of Service (ReDoS) attack due to catastrophic backtracking in several r...
Attack Vector: NETWORK
Attack Complexity: LOW
Exploitable Path: setOptions@/app.js - ... - setOptions@/package/lib/marked.js

ID: b8iErNCRXNNNJhE2MVRHnccEfGII4P73%2Fg2Iv8NPOLo%3D
Vulnerable Package
MEDIUM Container Capabilities Unrestricted /docker-compose.yml: 15
detailsSome capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnec...
ID: 6mcmRKZvsnX79o3XQMf6QemwgIk%3D
MEDIUM Container Capabilities Unrestricted /docker-compose.yml: 3
detailsSome capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnec...
ID: Pvw0%2FfXz2%2B6eUwf9tvswcwRl3EA%3D
MEDIUM Container Traffic Not Bound To Host Interface /docker-compose.yml: 18
detailsIncoming container traffic should be bound to a specific host interface
ID: ZVIxxxixBB5lQKRbYGI%2B%2BCBreLo%3D
MEDIUM Container Traffic Not Bound To Host Interface /docker-compose.yml: 8
detailsIncoming container traffic should be bound to a specific host interface
ID: 7nZhUUHRYJvy%2Btjl4yJklqolsro%3D
MEDIUM Healthcheck Not Set /docker-compose.yml: 15
detailsCheck containers periodically to see if they are running properly.
ID: 0A4t7%2BYGhc41p2XKMp7EwJK%2BNNQ%3D
MEDIUM Healthcheck Not Set /docker-compose.yml: 3
detailsCheck containers periodically to see if they are running properly.
ID: 5VS7anOB9MUQnwkA%2BiRnIs%2B9gcg%3D
MEDIUM Memory Not Limited /docker-compose.yml: 15
detailsMemory limits should be defined for each container. This prevents potential resource exhaustion by ensuring that containers consume not more than ...
ID: bTU8LODu1rKC6h5s7mTY%2Fqcm8OY%3D
MEDIUM Memory Not Limited /docker-compose.yml: 3
detailsMemory limits should be defined for each container. This prevents potential resource exhaustion by ensuring that containers consume not more than ...
ID: pyfOiUPin71E1glL559yeKD9JR8%3D
MEDIUM Pids Limit Not Set /docker-compose.yml: 15
details'pids_limit' should be set and different than -1
ID: ZCFGfTw8OiPCxYZ3%2Fvk4tCqJ6NQ%3D
MEDIUM Pids Limit Not Set /docker-compose.yml: 3
details'pids_limit' should be set and different than -1
ID: i0FRnWvS4VsZyLtBb76e2tVYcSA%3D
MEDIUM Security Opt Not Set /docker-compose.yml: 3
detailsAttribute 'security_opt' should be defined.
ID: madx8Ec86dwZZJaGDLxTAtRyGw8%3D
MEDIUM Security Opt Not Set /docker-compose.yml: 15
detailsAttribute 'security_opt' should be defined.
ID: oEI7GhxrkChSpGLqD5ywV5fBIOw%3D
LOW Cpus Not Limited /docker-compose.yml: 15
detailsCPU limits should be set because if the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests
ID: 5K7NNt%2BQEiknWiTPvpKwD2xJ3qY%3D
LOW Cpus Not Limited /docker-compose.yml: 3
detailsCPU limits should be set because if the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests
ID: pg757s36iYuYwzitBcB0P%2BYGvPg%3D
LOW Healthcheck Instruction Missing /Dockerfile: 1
detailsEnsure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working
ID: 55bDv9SmcN2HQP%2Ff1zfdWHz%2Fios%3D
LOW Multiple RUN, ADD, COPY, Instructions Listed /Dockerfile: 3
detailsMultiple commands (RUN, COPY, ADD) should be grouped in order to reduce the number of layers.
ID: mrJyOBCB2yKWcQjSwD6Qrx4%2BEP8%3D
Fixed Issues (12)

Great job! The following issues were fixed in this Pull Request

Severity Issue Source File / Package
CRITICAL CVE-2020-7788 Npm-ini-1.1.0
CRITICAL CVE-2020-7788 Npm-ini-1.3.5
HIGH CVE-2015-8855 Npm-semver-1.1.4
HIGH CVE-2016-10707 Npm-jquery-2.2.4
HIGH CVE-2021-23358 Npm-underscore-1.9.1
HIGH Cx3f7e7954-ea58 Npm-ms-0.7.1
HIGH Cx3f7e7954-ea58 Npm-ms-0.7.3
HIGH Cxf4039bac-6697 Npm-npmconf-0.0.24
MEDIUM CVE-2020-11022 Npm-jquery-2.2.4
MEDIUM Cx14b19a02-387a Npm-body-parser-1.9.0
MEDIUM Cxee7cbf9f-8b8d Npm-marked-0.3.5
LOW Log_Forging /routes/index.js: 223

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