Closed sookeke closed 2 years ago
:lock: The security scan detected 2 potential secrets in the code.
path line secret
------------------------------------ ------ ------------------
.github/workflows/api-dotnetcore.yml 132 f5f11ab3c73f737...
.github/workflows/app-react.yml 78 83c8083f22204c5...
| LIBRARY | VULNERABILITY ID | SEVERITY | INSTALLED VERSION | FIXED VERSION | TITLE |
+------------------+------------------+----------+-------------------+-----------------------------+---------------------------------------+
| follow-redirects | CVE-2022-0155 | HIGH | 1.14.4 | 1.14.7 | follow-redirects: Exposure of |
| | | | | | Private Personal Information |
| | | | | | to an Unauthorized Actor |
| | | | | | -->avd.aquasec.com/nvd/cve-2022-0155 |
+------------------+------------------+----------+-------------------+-----------------------------+---------------------------------------+
| immer | CVE-2021-23436 | CRITICAL | 8.0.1 | 9.0.6 | immer: type confusion |
| | | | | | vulnerability can lead to |
| | | | | | a bypass of CVE-2020-28477 |
| | | | | | -->avd.aquasec.com/nvd/cve-2021-23436 |
+ +------------------+----------+ + +---------------------------------------+
| | CVE-2021-3757 | HIGH | | | nodejs-immer: prototype |
| | | | | | pollution may lead to DoS |
| | | | | | or remote code execution |
| | | | | | -->avd.aquasec.com/nvd/cve-2021-3757 |
+------------------+------------------+ +-------------------+-----------------------------+---------------------------------------+
| node-fetch | CVE-2022-0235 | | 2.6.1 | 2.6.7, 3.1.1 | node-fetch: exposure of sensitive |
| | | | | | information to an unauthorized actor |
| | | | | | -->avd.aquasec.com/nvd/cve-2022-0235 |
+------------------+------------------+ +-------------------+-----------------------------+---------------------------------------+
| prismjs | CVE-2022-23647 | | 1.24.1 | 1.27.0 | prismjs: improperly |
| | | | | | escaped output allows a XSS |
| | | | | | -->avd.aquasec.com/nvd/cve-2022-23647 |
+------------------+------------------+ +-------------------+-----------------------------+---------------------------------------+
| tar | CVE-2021-37701 | | 4.4.15 | 6.1.7, 5.0.8, 4.4.16 | nodejs-tar: Insufficient symlink |
| | | | | | protection due to directory cache |
| | | | | | poisoning using symbolic links... |
| | | | | | -->avd.aquasec.com/nvd/cve-2021-37701 |
+ +------------------+ + +-----------------------------+---------------------------------------+
| | CVE-2021-37712 | | | 6.1.9, 5.0.10, 4.4.18 | nodejs-tar: Insufficient symlink |
| | | | | | protection due to directory cache |
| | | | | | poisoning using symbolic links... |
| | | | | | -->avd.aquasec.com/nvd/cve-2021-37712 |
+ +------------------+ + + +---------------------------------------+
| | CVE-2021-37713 | | | | nodejs-tar: Arbitrary |
| | | | | | File Creation/Overwrite on |
| | | | | | Windows via insufficient |
| | | | | | relative path sanitization |
| | | | | | -->avd.aquasec.com/nvd/cve-2021-37713 |
+ +------------------+ +-------------------+-----------------------------+---------------------------------------+
| | CVE-2021-32803 | | 6.1.0 | 6.1.2, 5.0.7, 4.4.15, 3.2.3 | nodejs-tar: Insufficient symlink |
| | | | | | protection allowing arbitrary |
| | | | | | file creation and overwrite |
| | | | | | -->avd.aquasec.com/nvd/cve-2021-32803 |
+ +------------------+ + +-----------------------------+---------------------------------------+
| | CVE-2021-32804 | | | 6.1.1, 5.0.6, 4.4.14, 3.2.2 | nodejs-tar: Insufficient absolute |
| | | | | | path sanitization allowing arbitrary |
| | | | | | file creation and overwrite |
| | | | | | -->avd.aquasec.com/nvd/cve-2021-32804 |
+ +------------------+ + +-----------------------------+---------------------------------------+
| | CVE-2021-37701 | | | 6.1.7, 5.0.8, 4.4.16 | nodejs-tar: Insufficient symlink |
| | | | | | protection due to directory cache |
| | | | | | poisoning using symbolic links... |
| | | | | | -->avd.aquasec.com/nvd/cve-2021-37701 |
+ +------------------+ + +-----------------------------+---------------------------------------+
| | CVE-2021-37712 | | | 6.1.9, 5.0.10, 4.4.18 | nodejs-tar: Insufficient symlink |
| | | | | | protection due to directory cache |
| | | | | | poisoning using symbolic links... |
| | | | | | -->avd.aquasec.com/nvd/cve-2021-37712 |
+ +------------------+ + + +---------------------------------------+
| | CVE-2021-37713 | | | | nodejs-tar: Arbitrary |
| | | | | | File Creation/Overwrite on |
| | | | | | Windows via insufficient |
| | | | | | relative path sanitization |
| | | | | | -->avd.aquasec.com/nvd/cve-2021-37713 |
+------------------+------------------+----------+-------------------+-----------------------------+---------------------------------------+
| url-parse | CVE-2022-0686 | CRITICAL | 1.5.1 | 1.5.8 | npm-url-parse: Authorization |
| | | | | | bypass through user-controlled key |
| | | | | | -->avd.aquasec.com/nvd/cve-2022-0686 |
+------------------+------------------+----------+-------------------+-----------------------------+---------------------------------------+```
⚠️ GitGuardian has uncovered 6 secrets following the scan of your pull request.
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🔎 Detected hardcoded secrets in your pull request
| GitGuardian id | Secret | Commit | Filename | | | -------------- | ------------------------- | ---------------- | --------------- | -------------------- | | [13206107](https://dashboard.gitguardian.com/incidents/2221208?occurrence=13206107) | Generic High Entropy Secret | cd65e7b5103f5bcca5ca4716f35d4aa231f8942c | k8s/application/backend/deployment.yaml | [View secret](https://github.com/bcgov/ag-pssg-sdlc/commit/cd65e7b5103f5bcca5ca4716f35d4aa231f8942c#diff-066cde4443bafc4a5dae5fbee03001dbd2f772a1501f3ff14b22e1a55eb086bbL60) | | [13206568](https://dashboard.gitguardian.com/incidents/2221208?occurrence=13206568) | Generic High Entropy Secret | e5f8dc519677bb57b3d833d05aa55e18d2c78b15 | k8s/application/backend/deployment.yaml | [View secret](https://github.com/bcgov/ag-pssg-sdlc/commit/e5f8dc519677bb57b3d833d05aa55e18d2c78b15#diff-066cde4443bafc4a5dae5fbee03001dbd2f772a1501f3ff14b22e1a55eb086bbL60) | | [22825329](https://dashboard.gitguardian.com/incidents/2142334?occurrence=22825329) | SonarQube Token | 630bfdcd3ffe8ab3bd1e56129238ca7ead171f55 | .github/workflows/api-dotnetcore.yml | [View secret](https://github.com/bcgov/ag-pssg-sdlc/commit/630bfdcd3ffe8ab3bd1e56129238ca7ead171f55#diff-c2fb36e69d71936253ec00a55f97db79d0da544c5d4c500e38f5d3e454f648eaL132) | | [22825330](https://dashboard.gitguardian.com/incidents/2142334?occurrence=22825330) | SonarQube Token | 630bfdcd3ffe8ab3bd1e56129238ca7ead171f55 | .github/workflows/api-dotnetcore.yml | [View secret](https://github.com/bcgov/ag-pssg-sdlc/commit/630bfdcd3ffe8ab3bd1e56129238ca7ead171f55#diff-c2fb36e69d71936253ec00a55f97db79d0da544c5d4c500e38f5d3e454f648eaR132) | | [22825331](https://dashboard.gitguardian.com/incidents/2142335?occurrence=22825331) | SonarQube Token | 630bfdcd3ffe8ab3bd1e56129238ca7ead171f55 | .github/workflows/app-react.yml | [View secret](https://github.com/bcgov/ag-pssg-sdlc/commit/630bfdcd3ffe8ab3bd1e56129238ca7ead171f55#diff-cb825be16c6d65ca0bb2ede3e8007f6bf83c663d3b14ef7555543cc8d5a8e738L78) | | [22825332](https://dashboard.gitguardian.com/incidents/2142335?occurrence=22825332) | SonarQube Token | 630bfdcd3ffe8ab3bd1e56129238ca7ead171f55 | .github/workflows/app-react.yml | [View secret](https://github.com/bcgov/ag-pssg-sdlc/commit/630bfdcd3ffe8ab3bd1e56129238ca7ead171f55#diff-cb825be16c6d65ca0bb2ede3e8007f6bf83c663d3b14ef7555543cc8d5a8e738R78) |
🛠 Guidelines to remediate hardcoded secrets
1. Understand the implications of revoking this secret by investigating where it is used in your code. 2. Replace and store your secrets safely. [Learn here](https://blog.gitguardian.com/secrets-api-management?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) the best practices. 3. Revoke and [rotate these secrets](https://docs.gitguardian.com/secrets-detection/detectors/generics/generic_high_entropy_secret#revoke-the-secret?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). 4. If possible, [rewrite git history](https://blog.gitguardian.com/rewriting-git-history-cheatsheet?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment). Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data. To avoid such incidents in the future consider - following these [best practices](https://blog.gitguardian.com/secrets-api-management/?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) for managing and storing secrets including API keys and other credentials - install [secret detection on pre-commit](https://docs.gitguardian.com/internal-repositories-monitoring/integrations/git_hooks/pre_commit?utm_source=product&utm_medium=GitHub_checks&utm_campaign=check_run_comment) to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Our GitHub checks need improvements? Share your feedbacks!