{ "data_type": "CVE", "data_format": "MITRE", "data_version": "4.0", "CVE_data_meta": { "ASSIGNER": "report@snyk.io", "DATE_PUBLIC": "2021-01-19T14:47:37.555989Z", "ID": "CVE-2020-28482", "STATE": "PUBLIC", "TITLE": "Cross-site Request Forgery (CSRF)" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "fastify-csrf", "version": { "version_data": [ { "version_affected": "<", "version_value": "3.0.0" } ] } } ] }, "vendor_name": "n/a" } ] } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Cross-site Request Forgery (CSRF)" } ] } ] }, "references": { "reference_data": [ { "refsource": "MISC", "url": "https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044", "name": "https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044" }, { "refsource": "MISC", "url": "https://github.com/fastify/fastify-csrf/pull/26", "name": "https://github.com/fastify/fastify-csrf/pull/26" } ] }, "description": { "description_data": [ { "lang": "eng", "value": "This affects the package fastify-csrf before 3.0.0. 1. The generated cookie used insecure defaults, and did not have the httpOnly flag on: cookieOpts: { path: '/', sameSite: true } 2. The CSRF token was available in the GET query parameter" } ] }, "impact": { "cvss": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "LOW", "availabilityImpact": "NONE" } }, "credit": [ { "lang": "eng", "value": "Matteo Collina" } ] }