Medium
Security advisory
The crypto-js package before 3.2.1 for Node.js generates random numbers by concatenating the string "0." with an integer, which makes the output more predictable than necessary.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-36732
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:45 UTC · Revision 1
Source evidence
The crypto-js package before 3.2.1 for Node.js generates random numbers by concatenating the string "0." with an integer, which makes the output more predictable than necessary.
osv:CVE-2020-36732
Complete source record
{
"id": "4e1e35fc3ee8f94d1571a7e2919408c22b56e7b9b1d508fae5b1c8f9990aec42",
"url": "https://osv.dev/vulnerability/CVE-2020-36732",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-36732",
"summary": "The crypto-js package before 3.2.1 for Node.js generates random numbers by concatenating the string \"0.\" with an integer, which makes the output more predictable than necessary.",
"evidence": "osv:CVE-2020-36732",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-36732",
"aliases": [
"CVE-2020-36732",
"GHSA-3w3w-pxmm-2w2j"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/brix/crypto-js",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "79209bcc62ee74b0a5055243068015e35a01938c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:crypto-js_project:crypto-js:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.2.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"3.2.0",
"3.1.9-1",
"3.1.9",
"3.1.8",
"3.1.7",
"3.1.6",
"3.1.5",
"3.1.4",
"3.1.3",
"release-3.1.2-5",
"release-3.1.2-4",
"release-3.1.2-3",
"release-3.1.2-2",
"release-3.1.2-1",
"release-3.1.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-36732.json"
}
}
],
"modified": "2026-10-20T10:47:52.354543583Z",
"provider": "osv",
"references": [
"https://github.com/brix/crypto-js/compare/3.2.0...3.2.1",
"https://security.netapp.com/advisory/ntap-20230706-0003/",
"https://security.snyk.io/vuln/SNYK-JS-CRYPTOJS-548472",
"https://github.com/brix/crypto-js/issues/254",
"https://github.com/brix/crypto-js/issues/256",
"https://github.com/brix/crypto-js/pull/257/commits/e4ac157d8b75b962d6538fc0b996e5d4d5a9466b"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-36732",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 379794,
"published_at": "2023-06-12T02:15:48.347+00:00"
}