2020-11-12 20:02:30 +00:00
{
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"data_version" : "4.0" ,
"CVE_data_meta" : {
2021-01-19 16:47:40 +02:00
"ASSIGNER" : "report@snyk.io" ,
"DATE_PUBLIC" : "2021-01-19T14:47:37.555989Z" ,
2020-11-12 20:02:30 +00:00
"ID" : "CVE-2020-28482" ,
2021-01-19 16:47:40 +02:00
"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" : [
{
2021-01-19 15:02:01 +00:00
"refsource" : "MISC" ,
"url" : "https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044" ,
"name" : "https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044"
2021-01-19 16:47:40 +02:00
} ,
{
2021-01-19 15:02:01 +00:00
"refsource" : "MISC" ,
"url" : "https://github.com/fastify/fastify-csrf/pull/26" ,
"name" : "https://github.com/fastify/fastify-csrf/pull/26"
2021-01-19 16:47:40 +02:00
}
]
2020-11-12 20:02:30 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2021-01-19 15:02:01 +00:00
"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"
2020-11-12 20:02:30 +00:00
}
]
2021-01-19 16:47:40 +02:00
} ,
"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"
}
]
2020-11-12 20:02:30 +00:00
}