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] Security upgrade express from 4.12.4 to 4.21.2 #15

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

Conversation

esecdj
Copy link
Owner

@esecdj esecdj commented Dec 7, 2024

snyk-top-banner

Snyk has created this PR to fix 1 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
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-PATHTOREGEXP-8482416
  721  

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:

🦉 Regular Expression Denial of Service (ReDoS)

@esecdj
Copy link
Owner Author

esecdj commented Dec 7, 2024

Logo
Checkmarx One – Scan Summary & Detailse3d31fd3-bb39-4b72-a9b9-ac3d91696a04

New Issues

Severity Issue Source File / Package Checkmarx Insight
HIGH CVE-2024-21538 Npm-cross-spawn-6.0.5 Vulnerable Package
HIGH CVE-2024-21538 Npm-cross-spawn-5.1.0 Vulnerable Package
HIGH CVE-2024-21538 Npm-cross-spawn-4.0.2 Vulnerable Package
HIGH CVE-2024-53900 Npm-mongoose-4.2.4 Vulnerable Package
HIGH Missing User Instruction /Dockerfile: 2 A user should be specified in the dockerfile, otherwise the image will run as root
HIGH Passwords And Secrets - Generic Password /docker-compose.yml: 24 Query to find passwords and secrets in infrastructure code.
MEDIUM Container Traffic Not Bound To Host Interface /docker-compose.yml: 26 Incoming container traffic should be bound to a specific host interface
MEDIUM Container Traffic Not Bound To Host Interface /docker-compose.yml: 8 Incoming container traffic should be bound to a specific host interface
MEDIUM Container Traffic Not Bound To Host Interface /docker-compose.yml: 18 Incoming container traffic should be bound to a specific host interface
MEDIUM Healthcheck Not Set /docker-compose.yml: 15 Check containers periodically to see if they are running properly.
MEDIUM Healthcheck Not Set /docker-compose.yml: 3 Check containers periodically to see if they are running properly.
MEDIUM Healthcheck Not Set /docker-compose.yml: 20 Check containers periodically to see if they are running properly.
MEDIUM Memory Not Limited /docker-compose.yml: 3 Memory limits should be defined for each container. This prevents potential resource exhaustion by ensuring that containers consume not more than t...
MEDIUM Memory Not Limited /docker-compose.yml: 20 Memory limits should be defined for each container. This prevents potential resource exhaustion by ensuring that containers consume not more than t...
MEDIUM Memory Not Limited /docker-compose.yml: 15 Memory limits should be defined for each container. This prevents potential resource exhaustion by ensuring that containers consume not more than t...
MEDIUM Pids Limit Not Set /docker-compose.yml: 3 'pids_limit' should be set and different than -1
MEDIUM Pids Limit Not Set /docker-compose.yml: 15 'pids_limit' should be set and different than -1
MEDIUM Pids Limit Not Set /docker-compose.yml: 20 'pids_limit' should be set and different than -1
MEDIUM Security Opt Not Set /docker-compose.yml: 3 Attribute 'security_opt' should be defined.
MEDIUM Security Opt Not Set /docker-compose.yml: 20 Attribute 'security_opt' should be defined.
MEDIUM Security Opt Not Set /docker-compose.yml: 15 Attribute 'security_opt' should be defined.
MEDIUM Unpinned Actions Full Length Commit SHA /snyk-code-manual.yml: 13 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /codeql-analysis.yml: 46 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /codeql-analysis.yml: 71 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /snyk-code.yml: 15 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /codeql-analysis.yml: 57 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /snyk-test-sarif.yml: 8 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /snyk-test-sarif.yml: 15 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /snyk-code.yml: 8 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Container Capabilities Unrestricted /docker-compose.yml: 15 Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessa...
LOW Container Capabilities Unrestricted /docker-compose.yml: 3 Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessa...
LOW Container Capabilities Unrestricted /docker-compose.yml: 20 Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessa...
LOW Cpus Not Limited /docker-compose.yml: 20 CPU 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
LOW Cpus Not Limited /docker-compose.yml: 15 CPU 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
LOW Cpus Not Limited /docker-compose.yml: 3 CPU 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
LOW Healthcheck Instruction Missing /Dockerfile: 2 Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working
LOW Multiple RUN, ADD, COPY, Instructions Listed /Dockerfile: 4 Multiple commands (RUN, COPY, ADD) should be grouped in order to reduce the number of layers.

Fixed Issues

Severity Issue Source File / Package
HIGH CVE-2017-16119 Npm-fresh-0.2.4
HIGH CVE-2024-45296 Npm-path-to-regexp-0.1.3
MEDIUM CVE-2024-29041 Npm-express-4.12.4
MEDIUM CVE-2024-43796 Npm-express-4.12.4
MEDIUM CVE-2024-43799 Npm-send-0.12.3
MEDIUM CVE-2024-43800 Npm-serve-static-1.9.3
MEDIUM Frameable_Login_Page /routes/index.js: 241

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