CVE-2024-35220

Source
https://cve.org/CVERecord?id=CVE-2024-35220
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35220.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-35220
Aliases
Published
2024-05-21T20:26:53.312Z
Modified
2026-03-14T12:33:57.997474Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N CVSS Calculator
Summary
@fastify/session reuses destroyed session cookie
Details

@fastify/session is a session plugin for fastify. Requires the @fastify/cookie plugin. When restoring the cookie from the session store, the expires field is overriden if the maxAge field was set. This means a cookie is never correctly detected as expired and thus expired sessions are not destroyed. This vulnerability has been patched 10.8.0.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-613"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35220.json"
}
References

Affected packages

Git / github.com/fastify/session

Affected ranges

Type
GIT
Repo
https://github.com/fastify/session
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/fastify/session
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v10.*
v10.0.0
v10.0.1
v10.0.2
v10.1.0
v10.1.1
v10.2.0
v10.2.1
v10.3.0
v10.3.1
v10.4.0
v10.5.0
v10.6.0
v10.6.1
v10.7.0
v10.7.1
v10.7.2
v10.8.0
v6.*
v6.0.0
v6.0.1
v6.1.0
v6.1.1
v6.2.0
v6.2.1
v6.2.2
v6.3.0
v6.4.0
v6.5.0
v6.5.1
v7.*
v7.0.0
v8.*
v8.0.0
v8.1.0
v8.2.0
v9.*
v9.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35220.json"