2021-01-08 23:03:11 +00:00
{
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"data_version" : "4.0" ,
"CVE_data_meta" : {
2022-07-25 15:05:13 +01:00
"ASSIGNER" : "report@snyk.io" ,
"DATE_PUBLIC" : "2022-07-25T14:05:11.822787Z" ,
2021-01-08 23:03:11 +00:00
"ID" : "CVE-2021-23451" ,
2022-07-25 15:05:13 +01:00
"STATE" : "PUBLIC" ,
"TITLE" : "Insecure Randomness"
} ,
"affects" : {
"vendor" : {
"vendor_data" : [
{
"product" : {
"product_data" : [
{
"product_name" : "otp-generator" ,
"version" : {
"version_data" : [
{
"version_affected" : "<" ,
"version_value" : "3.0.0"
}
]
}
}
]
} ,
"vendor_name" : "n/a"
}
]
}
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "Insecure Randomness"
}
]
}
]
} ,
"references" : {
"reference_data" : [
{
2022-07-25 15:00:53 +00:00
"refsource" : "MISC" ,
"url" : "https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480" ,
"name" : "https://security.snyk.io/vuln/SNYK-JS-OTPGENERATOR-1655480"
2022-07-25 15:05:13 +01:00
} ,
{
2022-07-25 15:00:53 +00:00
"refsource" : "MISC" ,
"url" : "https://github.com/Maheshkumar-Kakade/otp-generator/issues/12" ,
"name" : "https://github.com/Maheshkumar-Kakade/otp-generator/issues/12"
2022-07-25 15:05:13 +01:00
} ,
{
2022-07-25 15:00:53 +00:00
"refsource" : "MISC" ,
"url" : "https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70" ,
"name" : "https://github.com/Maheshkumar-Kakade/otp-generator/commit/b27de1ce439ae7f533cec26677e9698671275b70"
2022-07-25 15:05:13 +01:00
}
]
2021-01-08 23:03:11 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2022-07-25 15:00:53 +00:00
"value" : "The package otp-generator before 3.0.0 are vulnerable to Insecure Randomness due to insecure generation of random one-time passwords, which may allow a brute-force attack."
2021-01-08 23:03:11 +00:00
}
]
2022-07-25 15:05:13 +01:00
} ,
"impact" : {
"cvss" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N" ,
"baseScore" : 6.5 ,
"baseSeverity" : "MEDIUM" ,
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "NONE" ,
"userInteraction" : "NONE" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "LOW" ,
"integrityImpact" : "LOW" ,
"availabilityImpact" : "NONE"
}
} ,
"credit" : [
{
"lang" : "eng" ,
"value" : "Mateusz Wojciechowski"
}
]
2021-01-08 23:03:11 +00:00
}