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] Upgrade: , applicationinsights, govuk-frontend, jwk-to-pem #28

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

Conversation

beclamide
Copy link

snyk-top-banner

Snyk has created this PR to upgrade multiple dependencies.

👯‍♂ The following dependencies are linked and will therefore be updated together.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

Name Versions Released on

@hapi/wreck
from 18.0.1 to 18.1.0 | 2 versions ahead of your current version | 5 months ago
on 2024-04-10
applicationinsights
from 2.3.5 to 2.9.6 | 19 versions ahead of your current version | a month ago
on 2024-08-15
govuk-frontend
from 4.7.0 to 4.8.0 | 1 version ahead of your current version | 7 months ago
on 2024-02-05
jwk-to-pem
from 2.0.5 to 2.0.6 | 1 version ahead of your current version | a month ago
on 2024-08-14

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
critical severity Improper Verification of Cryptographic Signature
SNYK-JS-ELLIPTIC-7577916
776 Proof of Concept
critical severity Improper Verification of Cryptographic Signature
SNYK-JS-ELLIPTIC-7577917
776 Proof of Concept
critical severity Improper Verification of Cryptographic Signature
SNYK-JS-ELLIPTIC-7577918
776 Proof of Concept
Release notes
Package name: @hapi/wreck from @hapi/wreck GitHub release notes
Package name: govuk-frontend
  • 4.8.0 - 2024-02-05

    This release includes the ability to update the crown logo. You must do this between 19 February and 1 March 2024.

    We’ll send reminders to our mailing list and cross-government Slack as soon as you can make this change.

    New features

    Update to the new GOV.UK logo (between 19 February and 1 March 2024)

    We’ve updated the GOV.UK logo to reflect the changing of the monarch. King Charles III uses the Tudor Crown, rather than the St Edward’s Crown chosen by Queen Elizabeth II.

    If your service uses GOV.UK branding, you must update your service to use the new crown.

    These changes were made in the following pull requests:

    Include the new logo assets

    Multiple new image assets are included in this release. You’ll need to copy these to your service's image assets folder if they are not being used directly from the Frontend package. By default this folder is located at /assets/images.

    If you’re using Nunjucks, the asset path may have been changed by the assetPath global variable or assetsPath parameter on the header component.

    Copy the following files from /dist/assets/images into your assets folder. Any images with the same name as an existing image can be safely overwritten.

    • favicon.ico
    • govuk-apple-touch-icon-152x152.png
    • govuk-apple-touch-icon-167x167.png
    • govuk-apple-touch-icon-180x180.png
    • govuk-apple-touch-icon.png
    • govuk-logotype-tudor-crown.png
    • govuk-mask-icon.svg
    • govuk-opengraph-image.png

    Update the logo in the header of your page

    If you are using the govukHeader Nunjucks macro in your service, add the useTudorCrown parameter to the macro instantiation.

    {{ govukHeader({
      ...
      useTudorCrown: true
    }) }}

    If you are not using the Nunjucks macro, locate the HTML for the existing crown and replace it with this updated HTML. Make sure the URL for the new PNG fallback image is correct.

    <!--[if gt IE 8]><!-->
    <svg
      aria-hidden="true"
      focusable="false"
      class="govuk-header__logotype-crown"
      xmlns="http://www.w3.org/2000/svg"
      viewBox="0 0 32 30"
      height="30"
      width="32"
    >
      <path
        fill="currentColor" fill-rule="evenodd"
        d="M22.6 10.4c-1 .4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s-.1 2-1 2.4m-5.9 6.7c-.9.4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s-.1 2-1 2.4m10.8-3.7c-1 .4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s0 2-1 2.4m3.3 4.8c-1 .4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s-.1 2-1 2.4M17 4.7l2.3 1.2V2.5l-2.3.7-.2-.2.9-3h-3.4l.9 3-.2.2c-.1.1-2.3-.7-2.3-.7v3.4L15 4.7c.1.1.1.2.2.2l-1.3 4c-.1.2-.1.4-.1.6 0 1.1.8 2 1.9 2.2h.7c1-.2 1.9-1.1 1.9-2.1 0-.2 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8"></path>
    </svg>
    <!--<![endif]-->
    <!--[if IE 8]>
    <img src="/assets/images/govuk-logotype-tudor-crown.png" class="govuk-header__logotype-crown-fallback-image" width="32" height="30" alt="">
    <![endif]-->
  • 4.7.0 - 2023-07-06

    New features

    Added the Exit This Page component to help users quickly exit a page or service

    You can now choose to use the exit this page component to help users quickly leave a page or service which contains sensitive information.

    This was added in pull request #2545: Add exit this page component.

    Added inverse modifier for buttons on dark backgrounds

    You can now choose to use the govuk-button--inverse class to style buttons on dark backgrounds with a white background colour.

    This change was made in pull request #3556: Add inverse button styles.

    Added inverse modifier for breadcrumbs on dark backgrounds

    You can now choose to use the govuk-breadcrumbs--inverse class to style breadcrumbs on dark backgrounds with white text, links and arrows.

    This change was made in pull request #3774: Add inverse breadcrumb and back link modifiers and styles.

    Added inverse modifier for back links on dark backgrounds

    You can now choose to use the govuk-back-link--inverse class to style back links on dark backgrounds with white links and arrows.

    This change was made in pull request #3774: Add inverse breadcrumb and back link modifiers and styles.

    Fixes

    We’ve made fixes to GOV.UK Frontend in the following pull requests:

from govuk-frontend GitHub release notes
Package name: jwk-to-pem from jwk-to-pem GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade:
  - @hapi/wreck from 18.0.1 to 18.1.0.
    See this package in npm: https://www.npmjs.com/package/@hapi/wreck
  - applicationinsights from 2.3.5 to 2.9.6.
    See this package in npm: https://www.npmjs.com/package/applicationinsights
  - govuk-frontend from 4.7.0 to 4.8.0.
    See this package in npm: https://www.npmjs.com/package/govuk-frontend
  - jwk-to-pem from 2.0.5 to 2.0.6.
    See this package in npm: https://www.npmjs.com/package/jwk-to-pem

See this project in Snyk:
https://app.snyk.io/org/defra-ffc/project/42f05be0-a740-4e37-9a3d-66a596883d78?utm_source=github&utm_medium=referral&page=upgrade-pr
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