Descrizione
Issue summary: The generic elliptic-curve scalar multiplication used for ECDSA and SM2 signature operations with curves that do not have a dedicated implementation leaks information about the secret nonce through timing. Impact summary: An attacker able to measure signing times may learn information about the per-signature secret nonce, which over many signatures can, via a lattice / Hidden Number Problem attack, lead to recovery of the private key. CWE: CWE-208: Observable Timing Discrepancy Description: The generic elliptic-curve scalar multiplication used for curves that do not have a dedicated constant-time implementation pads the secret scalar with non-constant-time BIGNUM operations, so the time taken depends on the value of the secret scalar derived from the ECDSA and SM2 nonce. The leak is very small; observing it requires a large number of measurements. The effect is largest for curves whose group order lies on a machine-word boundary, such as brainpoolP384r1. Applications using ECDSA signing over the Brainpool and other generic prime curves, and SM2 signing on platforms that use the generic implementation, are vulnerable to this issue. The NIST curves P-256, P-384 and P-521 use dedicated constant-time implementations and are not affected. FIPS Impact: no The FIPS modules are not affected: the approved NIST curves used in the FIPS provider have dedicated constant-time implementations and do not use the affected code path.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 3.7.
Versioni da aggiornare
- Openssl Openssl: vulnerabili le versioni dalla
1.0.2precedenti alla1.0.2zs→ aggiornare alla1.0.2zso successiva. - Openssl Openssl: vulnerabili le versioni dalla
1.1.1precedenti alla1.1.1zj→ aggiornare alla1.1.1zjo successiva. - Openssl Openssl: vulnerabili le versioni dalla
3.0.0precedenti alla3.0.23→ aggiornare alla3.0.23o successiva. - Openssl Openssl: vulnerabili le versioni dalla
3.4.0precedenti alla3.4.8→ aggiornare alla3.4.8o successiva. - Openssl Openssl: vulnerabili le versioni dalla
3.5.0precedenti alla3.5.9→ aggiornare alla3.5.9o successiva. - Openssl Openssl: vulnerabili le versioni dalla
3.6.0precedenti alla3.6.5→ aggiornare alla3.6.5o successiva. - Openssl Openssl: vulnerabili le versioni dalla
4.0.0precedenti alla4.0.3→ aggiornare alla4.0.3o successiva.
Patch e advisory
- Patch: github.com/openssl/openssl/commit/1a5bee8dc5743…
- Patch: github.com/openssl/openssl/commit/3f7e1363dccec…
- Patch: github.com/openssl/openssl/commit/7d83bc7764999…
- Patch: github.com/openssl/openssl/commit/8166827a78aad…
- Advisory del vendor: openssl-library.org/news/secadv/20260929.txt
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Openssl | Openssl | ≥ 1.0.2 < 1.0.2zs | 1.0.2zs |
| Openssl | Openssl | ≥ 1.1.1 < 1.1.1zj | 1.1.1zj |
| Openssl | Openssl | ≥ 3.0.0 < 3.0.23 | 3.0.23 |
| Openssl | Openssl | ≥ 3.4.0 < 3.4.8 | 3.4.8 |
| Openssl | Openssl | ≥ 3.5.0 < 3.5.9 | 3.5.9 |
| Openssl | Openssl | ≥ 3.6.0 < 3.6.5 | 3.6.5 |
| Openssl | Openssl | ≥ 4.0.0 < 4.0.3 | 4.0.3 |
Riferimenti
- Patchhttps://github.com/openssl/openssl/commit/1a5bee8dc57430a2be69cd1ffe7fec6a62f4f179
- Patchhttps://github.com/openssl/openssl/commit/3f7e1363dccec6f7732bb9e9fa471bb6e4aa68cb
- Patchhttps://github.com/openssl/openssl/commit/7d83bc7764999dfd91b83b4f0815b45390422afd
- Patchhttps://github.com/openssl/openssl/commit/8166827a78aad164a07aa86dea2b425403ced471
- Advisory del vendorhttps://openssl-library.org/news/secadv/20260929.txt
- Riferimentohttps://cert-portal.siemens.com/productcert/html/ssa-457936.html