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

[Do not merge] Minimal hapi upgrade experiment #374

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

sauntimo
Copy link

@sauntimo sauntimo commented Feb 9, 2024

✏️ Changes

DESCRIPTION GOES HERE. Try to describe both what is changing and why this is important

  • Make sure you run when adding / updating a package
  • What did you change from a design standpoint?
  • What did you change in the code itself?
  • If you are updating a dependency, explain why this is needed.

📷 Screenshots

If there were visual changes to the application with this change, please include before and after screenshots here. If it has animation, please use screen capture software like to make a gif.

🔗 References

Include at at least one link to an explanation + requirements for this change, and more if at all possible. Typically this is a Jira/GitHub Issue, but could also be links to Zendesk tickets, RFCs, rollout plan or Slack conversations (for Slack conversations, make sure you provide a summary of the conversation under “Changes”).

🎯 Testing

Describe how this can be tested by reviewers. Please be specific about anything not tested and reasons why.

  • Make sure you add unit and integration tests.
  • If this is on a hot path, add load or performance tests
  • Especially for dependency updates we also need to make sure that there is no impact on performance.

✅🚫 This change has been tested in a Webtask

✅🚫 This change has unit test coverage

✅🚫 This change has integration test coverage

✅🚫 This change has been tested for performance

🚀 Deployment

Can this change be merged at any time? What will the deployment of the change look like? Does this need to be released in lockstep with something else?

✅🚫 This can be deployed any time

or
⚠️ This should not be merged until:

  • Other PR is merged because REASON
  • After date because REASON
  • Other condition: REASON

🎡 Rollout

Explain how the change will be verified once released. Manual testing? Functional testing?

In order to verify that the deployment was successful we will …

🔥 Rollback

Explain when and why we will rollback the change.

We will rollback if …

📄 Procedure

Explain how the rollback for this change will look like, how we can recover fast.

🖥 Appliance

Note to reviewers: ensure that this change is compatible with the Appliance.

@sauntimo sauntimo self-assigned this Feb 9, 2024
Copy link

semgrep-app bot commented Feb 9, 2024

Semgrep found 1 ssc-45c7ee79-f517-41e2-b61a-45743d9df9c6 finding:

Risk: Affected version of handlebars is vulnerable to Improper Neutralization Of Special Elements In Output Used By A Downstream Component ('Injection') / Improperly Controlled Modification Of Object Prototype Attributes ('Prototype Pollution'). The vulnerability allows for Prototype Pollution, potentially leading to Remote Code Execution, as templates can modify an object's __proto__ and __defineGetter__ properties, enabling attackers to execute arbitrary code using specially crafted payloads.

Fix: Upgrade this library to at least version 4.3.0 at auth0-authorization-extension/package-lock.json:22913.

Reference(s): GHSA-w457-6q6x-cgp9, CVE-2019-19919

Ignore this finding from ssc-45c7ee79-f517-41e2-b61a-45743d9df9c6.

Semgrep found 1 ssc-65a2e86a-8a34-49df-84cd-7cabdd12116b finding:

Risk: npm 6.x before 6.13.4 is vulnerable to improper limitation of a pathname to a restricted directory ('path traversal'). Affected versions will overwrite globally-installed package binaries without user interaction, as well as ignoring the explicit --ignore-scripts install option. Upgrade to npm 6.13.4.

Fix: Upgrade this library to at least version 6.13.4 at auth0-authorization-extension/package-lock.json:19375.

Reference(s): GHSA-4328-8hgf-7wjr, CVE-2019-16777

Ignore this finding from ssc-65a2e86a-8a34-49df-84cd-7cabdd12116b.

Semgrep found 1 ssc-20e23dff-ba75-4719-8048-9a1ded0967b5 finding:

Risk: npm 6.x before 6.13.3 is vulnerable to improper link resolution before file access ('link following'). A malicious package may use the bin field to write files with the permissions of the npm process outside of node_modules. This cannot overwrite existing files. Upgrade to npm 6.13.3.

Fix: Upgrade this library to at least version 6.13.3 at auth0-authorization-extension/package-lock.json:19375.

Reference(s): GHSA-m6cx-g6qm-p2cx, CVE-2019-16775

Ignore this finding from ssc-20e23dff-ba75-4719-8048-9a1ded0967b5.

Semgrep found 1 ssc-b4a210b5-93e0-4df0-8a99-fea9553da8f2 finding:

Risk: npm 6.x before 6.13.3 is vulnerable to improper limitation of a pathname to a restricted directory ('path traversal'). Affected versions of NPM do not prevent package authors from generating symlinks outside of the node_modules folder, allowing a malicious package author to symlink to arbitrary files on package install. Upgrade to npm 6.13.3.

Fix: Upgrade this library to at least version 6.13.3 at auth0-authorization-extension/package-lock.json:19375.

Reference(s): GHSA-x8qc-rrcw-4r46, CVE-2019-16776

Ignore this finding from ssc-b4a210b5-93e0-4df0-8a99-fea9553da8f2.

Semgrep found 1 ssc-1606921e-eb4c-4a25-bcec-3cbfbc985ee1 finding:

Risk: Affected version of deep-extend is vulnerable to Prototype Pollution. Malicious input passed to deep-extend allows an attacker to overwrite the prototype of Object, polluting all JavaScript objects with arbitrary properties. This can lead to Denial of Service or even Remote Code Execution.

Fix: Upgrade this library to at least version 0.5.1 at auth0-authorization-extension/package-lock.json:21994.

Reference(s): GHSA-hr2v-3952-633q, CVE-2018-3750

Ignore this finding from ssc-1606921e-eb4c-4a25-bcec-3cbfbc985ee1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant