Search criteria
2 vulnerabilities found for session by fastify
CVE-2024-35220 (GCVE-0-2024-35220)
Vulnerability from cvelistv5 – Published: 2024-05-21 20:26 – Updated: 2024-08-02 03:07
VLAI?
Summary
@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.
Severity ?
7.4 (High)
CWE
- CWE-613 - Insufficient Session Expiration
Assigner
References
| URL | Tags | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||
{
"containers": {
"adp": [
{
"affected": [
{
"cpes": [
"cpe:2.3:a:fastify:session:0:*:*:*:*:*:*:*"
],
"defaultStatus": "unknown",
"product": "session",
"vendor": "fastify",
"versions": [
{
"lessThanOrEqual": "10.8.0",
"status": "affected",
"version": "0",
"versionType": "custom"
},
{
"status": "unaffected",
"version": "10.9.0"
}
]
}
],
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-35220",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-05-22T15:49:51.191902Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-06-04T17:34:24.350Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-02T03:07:46.810Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/fastify/session/security/advisories/GHSA-pj27-2xvp-4qxg",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/fastify/session/security/advisories/GHSA-pj27-2xvp-4qxg"
},
{
"name": "https://github.com/fastify/session/issues/251",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/fastify/session/issues/251"
},
{
"name": "https://github.com/fastify/session/commit/0495ce5b534c4550f25228821db8098293439f2f",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/fastify/session/commit/0495ce5b534c4550f25228821db8098293439f2f"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "session",
"vendor": "fastify",
"versions": [
{
"status": "affected",
"version": "\u003c 10.9.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "@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.\nThis means a cookie is never correctly detected as expired and thus expired sessions are not destroyed. This vulnerability has been patched 10.8.0."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 7.4,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-613",
"description": "CWE-613: Insufficient Session Expiration",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-05-21T20:26:53.312Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/fastify/session/security/advisories/GHSA-pj27-2xvp-4qxg",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/fastify/session/security/advisories/GHSA-pj27-2xvp-4qxg"
},
{
"name": "https://github.com/fastify/session/issues/251",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/fastify/session/issues/251"
},
{
"name": "https://github.com/fastify/session/commit/0495ce5b534c4550f25228821db8098293439f2f",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/fastify/session/commit/0495ce5b534c4550f25228821db8098293439f2f"
}
],
"source": {
"advisory": "GHSA-pj27-2xvp-4qxg",
"discovery": "UNKNOWN"
},
"title": "@fastify/session reuses destroyed session cookie"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2024-35220",
"datePublished": "2024-05-21T20:26:53.312Z",
"dateReserved": "2024-05-14T15:39:41.783Z",
"dateUpdated": "2024-08-02T03:07:46.810Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
CVE-2024-35220 (GCVE-0-2024-35220)
Vulnerability from nvd – Published: 2024-05-21 20:26 – Updated: 2024-08-02 03:07
VLAI?
Summary
@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.
Severity ?
7.4 (High)
CWE
- CWE-613 - Insufficient Session Expiration
Assigner
References
| URL | Tags | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||
{
"containers": {
"adp": [
{
"affected": [
{
"cpes": [
"cpe:2.3:a:fastify:session:0:*:*:*:*:*:*:*"
],
"defaultStatus": "unknown",
"product": "session",
"vendor": "fastify",
"versions": [
{
"lessThanOrEqual": "10.8.0",
"status": "affected",
"version": "0",
"versionType": "custom"
},
{
"status": "unaffected",
"version": "10.9.0"
}
]
}
],
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-35220",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-05-22T15:49:51.191902Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-06-04T17:34:24.350Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-02T03:07:46.810Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/fastify/session/security/advisories/GHSA-pj27-2xvp-4qxg",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/fastify/session/security/advisories/GHSA-pj27-2xvp-4qxg"
},
{
"name": "https://github.com/fastify/session/issues/251",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/fastify/session/issues/251"
},
{
"name": "https://github.com/fastify/session/commit/0495ce5b534c4550f25228821db8098293439f2f",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/fastify/session/commit/0495ce5b534c4550f25228821db8098293439f2f"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "session",
"vendor": "fastify",
"versions": [
{
"status": "affected",
"version": "\u003c 10.9.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "@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.\nThis means a cookie is never correctly detected as expired and thus expired sessions are not destroyed. This vulnerability has been patched 10.8.0."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 7.4,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-613",
"description": "CWE-613: Insufficient Session Expiration",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-05-21T20:26:53.312Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/fastify/session/security/advisories/GHSA-pj27-2xvp-4qxg",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/fastify/session/security/advisories/GHSA-pj27-2xvp-4qxg"
},
{
"name": "https://github.com/fastify/session/issues/251",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/fastify/session/issues/251"
},
{
"name": "https://github.com/fastify/session/commit/0495ce5b534c4550f25228821db8098293439f2f",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/fastify/session/commit/0495ce5b534c4550f25228821db8098293439f2f"
}
],
"source": {
"advisory": "GHSA-pj27-2xvp-4qxg",
"discovery": "UNKNOWN"
},
"title": "@fastify/session reuses destroyed session cookie"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2024-35220",
"datePublished": "2024-05-21T20:26:53.312Z",
"dateReserved": "2024-05-14T15:39:41.783Z",
"dateUpdated": "2024-08-02T03:07:46.810Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}