Skip to content

chore(deps): update dependency @fastify/secure-session to v7.3.0 [security]#201

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-fastify-secure-session-vulnerability
Open

chore(deps): update dependency @fastify/secure-session to v7.3.0 [security]#201
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-fastify-secure-session-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Sep 12, 2024

This PR contains the following updates:

Package Change Age Confidence
@fastify/secure-session 7.0.07.3.0 age confidence

@​fastify/secure-session: Reuse of destroyed secure session cookie

CVE-2024-31999 / GHSA-9wwp-q7wq-jx35

More information

Details

Impact

At the end of the request handling, it will encrypt all data in the session with a secret key and attach the ciphertext as a cookie value with the defined cookie name. After that, the session on the server side is destroyed. When an encrypted cookie with matching session name is provided with subsequent requests, it will decrypt the ciphertext to get the data. The plugin then creates a new session with the data in the ciphertext. Thus theoretically the web instance is still accessing the data from a server-side session, but technically that session is generated solely from a user provided cookie (which is assumed to be non-craftable because it is encrypted with a secret key not known to the user).

The issue exists in the session removal process. In the delete function of the code, when the session is deleted, it is marked for deletion. However, if an attacker could gain access to the cookie, they could keep using it forever.

Patches

Fixed in 56d66642ecc633cff0606927601e81cdac361370.
Update to v7.3.0.

Workarounds

Include a "last update" field in the session, and treat "old sessions" as expired.
Make sure to configure your cookie as "http only".

References

Severity

  • CVSS Score: 7.4 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

fastify/fastify-secure-session (@​fastify/secure-session)

v7.3.0

Compare Source

⚠️ Security Release ⚠️

Fixes GHSA-9wwp-q7wq-jx35

What's Changed

New Contributors

Full Changelog: fastify/fastify-secure-session@v7.2.0...v7.3.0

v7.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: fastify/fastify-secure-session@v7.0.0...v7.1.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Sep 12, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch 5 times, most recently from 0b6e66d to 887bb1b Compare September 16, 2024 04:13
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch 3 times, most recently from 806e2db to 655f88d Compare September 25, 2024 16:47
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch 2 times, most recently from e140954 to f87fcd3 Compare October 7, 2024 03:44
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch 2 times, most recently from 0aad106 to 9f4abc6 Compare October 21, 2024 03:23
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch 2 times, most recently from 3bf1afd to 5e8f656 Compare November 4, 2024 03:37
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch from 5e8f656 to 127da8c Compare November 11, 2024 03:32
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch 2 times, most recently from 2aa0d58 to bf9cb9a Compare January 23, 2025 21:49
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch from bf9cb9a to 5a6a58d Compare January 30, 2025 18:37
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch from 5a6a58d to 169a0a7 Compare February 9, 2025 13:13
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch from 169a0a7 to 938059d Compare March 3, 2025 15:34
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch 3 times, most recently from 3b60eb6 to 2e144c7 Compare March 17, 2025 12:59
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch 2 times, most recently from ddc63a3 to 7bdd109 Compare April 8, 2025 10:23
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch from 7bdd109 to 2904346 Compare April 24, 2025 09:43
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch from 2904346 to 0404e08 Compare May 19, 2025 19:59
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch from 0404e08 to f76578b Compare May 28, 2025 09:50
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch from f76578b to 7998f6b Compare June 4, 2025 11:36
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch from d2df469 to c425913 Compare December 3, 2025 14:44
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch from c425913 to cb110ae Compare December 31, 2025 14:08
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch from cb110ae to 0a04dbd Compare January 8, 2026 17:41
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch 2 times, most recently from 2adb4f2 to fed7e0d Compare January 23, 2026 20:06
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch from fed7e0d to 3d3281e Compare February 2, 2026 20:27
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch 2 times, most recently from cd67c08 to 57fff0b Compare February 17, 2026 19:02
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch from 57fff0b to 23c6d3f Compare March 5, 2026 17:51
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch from 23c6d3f to 32f3402 Compare March 13, 2026 16:48
@renovate renovate Bot changed the title chore(deps): update dependency @fastify/secure-session to v7.3.0 [security] chore(deps): update dependency @fastify/secure-session to v7.3.0 [security] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate renovate Bot deleted the renovate/npm-fastify-secure-session-vulnerability branch March 27, 2026 00:56
@renovate renovate Bot changed the title chore(deps): update dependency @fastify/secure-session to v7.3.0 [security] - autoclosed chore(deps): update dependency @fastify/secure-session to v7.3.0 [security] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch 4 times, most recently from 5eaf747 to dda0326 Compare April 1, 2026 20:11
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch from dda0326 to 9aca092 Compare April 8, 2026 19:16
@renovate renovate Bot changed the title chore(deps): update dependency @fastify/secure-session to v7.3.0 [security] chore(deps): update dependency @fastify/secure-session to v7.3.0 [security] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title chore(deps): update dependency @fastify/secure-session to v7.3.0 [security] - autoclosed chore(deps): update dependency @fastify/secure-session to v7.3.0 [security] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch 3 times, most recently from 79649a5 to 47a2607 Compare April 29, 2026 11:00
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch from 47a2607 to 30adbe2 Compare May 12, 2026 11:36
@renovate renovate Bot force-pushed the renovate/npm-fastify-secure-session-vulnerability branch from 30adbe2 to bbda7f2 Compare May 18, 2026 11:00
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.

0 participants