-
Notifications
You must be signed in to change notification settings - Fork 3
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
#94 Npm-debug-2.6.9 from Npm-express-4.18.1 #95
Comments
Hi @bonfim-sanofi ! The package debug-2.6.9 is a dependency requested by express-4.18.1 , and express-4.18.1 is already the latest one. So putting it in simple terms, this can only be fixed upstream (at the express package). What do you suggest ? |
You can specify the updated version on your
Is there a reason why |
@pccosta-pdm any reason for the fgt-api/package-lock.json not to be commited ? Issue qued for an experimentat to override express debug dependency. |
According to the git history, the package-lock.json is not committed because the fgt-workspace codebase came from a fork of the "dsu fabric" (and package-lock.json is in the .gitignore) |
Ok, so for the fgt-api/ folder we will override .gitignore. I will assign the ticket to me, so that I will do that, and then experiment with overrides of the debug package, to check if the express functionality is broken or not. |
The dependency has been overriden by debug-4.3.4 or higher, and has passed the automated tests for the future v0.10.3 candidate version. Although this situation is not desirable (the only "good" fix would be a fix by the upstream package express), the workaround does not seem to break so far. @pccosta-pdm and/or @TiagoV-PDMFC , care to comment ? (See previous commit on this issue). |
From #94 (comment) List of Packages with HIGH CVEs Packages detected location: fgt-api/package.json origin: > Npm-@capacitor/cli-3.7.0 > Npm-debug-4.3.4 > Npm-express-4.18.1 > Npm-debug-4.3.4 > Npm-goodparts-1.3.0 > Npm-eslint-6.8.0 > Npm-debug-4.3.4 > Npm-@ionic/cli-6.20.1 > Npm-debug-4.3.4 > Npm-jest-27.5.1 > Npm-@jest/core-27.5.1 > Npm-@jest/reporters-27.5.1 > Npm-istanbul-lib-source-maps-4.0.1 > Npm-debug-4.3.4 > Npm-swagger-ui-express-4.5.0 > Npm-express-4.18.1 > Npm-debug-4.3.4 > Npm-workbox-cli-6.5.4 > Npm-workbox-build-6.5.4 > Npm-@babel/core-7.18.10 > Npm-debug-4.3.4 Vulnerabilities:
|
npm-debug-4.3.4 is already the latest. The Cx8bc4df28-fcf5 is still not fixed, so it seems a no-fix. I would say that, the express JS is not being run in debug mode, so the debug functionality is probably not exposed to user input, so the vulnerability probably does not apply. In doubt, we also recommend not to expose the Swagger UI to the internet (on the production environment). |
From #94
List of Packages with HIGH CVEs
Packages detected
HIGH - Npm-debug-2.6.9
location: https://github.com/PharmaLedger-IMI/fgt-workspace/blob/master/fgt-api/package.json
origin: > Npm-express-4.18.1 > Npm-debug-2.6.9 > Npm-@ionic/cli-6.20.1 > Npm-leek-0.0.24 > Npm-debug-2.6.9 > Npm-swagger-ui-express-4.5.0 > Npm-express-4.18.1 > Npm-debug-2.6.9
Vulnerabilities:
The text was updated successfully, but these errors were encountered: