nss — security advisory
During RSA key generation, bignum implementations used a variation of the Binary Extended Euclidean Algorithm which entailed significantly input-dependent flow. This allowed an attacker able to perform electromagnetic-based side channel attacks to record traces leading to the recovery of the secret primes. *Note:* An unmodified Firefox browser does not generate RSA keys in normal operation and is not affected, but products built on top of it might. This vulnerability affects Firefox < 78.
- Products
- nss
- Affected versions
- Not specified
- Fixed versions
- 3.53.1-r0
- CVEs
- CVE-2020-12402
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 12:01 UTC · Revision 1
Source evidence
During RSA key generation, bignum implementations used a variation of the Binary Extended Euclidean Algorithm which entailed significantly input-dependent flow. This allowed an attacker able to perform electromagnetic-based side channel attacks to record traces leading to the recovery of the secret primes. *Note:* An unmodified Firefox browser does not generate RSA keys in normal operation and is not affected, but products built on top of it might. This vulnerability affects Firefox < 78.
osv:ALPINE-CVE-2020-12402
nss
Fixed versions: 3.53.1-r0
nss
Fixed versions: 3.53.1-r0
nss
Fixed versions: 3.53.1-r0
nss
Fixed versions: 3.53.1-r0
nss
Fixed versions: 3.53.1-r0
nss
Fixed versions: 3.53.1-r0
nss
Fixed versions: 3.53.1-r0
Complete source record
{
"id": "35b9083d7be3a6f11585a5205d6ef31002d3f0abff4ea764ef1fdf2cb4ed2bfd",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2020-12402",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-CVE-2020-12402",
"summary": "During RSA key generation, bignum implementations used a variation of the Binary Extended Euclidean Algorithm which entailed significantly input-dependent flow. This allowed an attacker able to perform electromagnetic-based side channel attacks to record traces leading to the recovery of the secret primes. *Note:* An unmodified Firefox browser does not generate RSA keys in normal operation and is not affected, but products built on top of it might. This vulnerability affects Firefox < 78.",
"evidence": "osv:ALPINE-CVE-2020-12402",
"products": [
{
"name": {
"value": "nss",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.53.1-r0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "nss",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.53.1-r0",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "nss",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.53.1-r0",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "nss",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.53.1-r0",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "nss",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.53.1-r0",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "nss",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.53.1-r0",
"evidence": "/affected/5/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "nss",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.53.1-r0",
"evidence": "/affected/6/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "ALPINE-CVE-2020-12402",
"aliases": [
"ALPINE-CVE-2020-12402"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.53.1-r0"
}
]
}
],
"package": {
"name": "nss",
"purl": "pkg:apk/alpine/nss?arch=source",
"ecosystem": "Alpine:v3.12"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-12402.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.53.1-r0"
}
]
}
],
"package": {
"name": "nss",
"purl": "pkg:apk/alpine/nss?arch=source",
"ecosystem": "Alpine:v3.19"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-12402.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.53.1-r0"
}
]
}
],
"package": {
"name": "nss",
"purl": "pkg:apk/alpine/nss?arch=source",
"ecosystem": "Alpine:v3.20"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-12402.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.53.1-r0"
}
]
}
],
"package": {
"name": "nss",
"purl": "pkg:apk/alpine/nss?arch=source",
"ecosystem": "Alpine:v3.21"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-12402.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.53.1-r0"
}
]
}
],
"package": {
"name": "nss",
"purl": "pkg:apk/alpine/nss?arch=source",
"ecosystem": "Alpine:v3.22"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-12402.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.53.1-r0"
}
]
}
],
"package": {
"name": "nss",
"purl": "pkg:apk/alpine/nss?arch=source",
"ecosystem": "Alpine:v3.23"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-12402.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.53.1-r0"
}
]
}
],
"package": {
"name": "nss",
"purl": "pkg:apk/alpine/nss?arch=source",
"ecosystem": "Alpine:v3.24"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-12402.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-26T11:17:55.102930545Z",
"provider": "osv",
"upstream": [
"CVE-2020-12402"
],
"references": [
"https://security.alpinelinux.org/vuln/CVE-2020-12402"
]
},
"related_cves": [
{
"value": "CVE-2020-12402",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 450361,
"published_at": "2020-07-09T15:15:10.82+00:00"
}