Descrizione
Issue summary: A CMP client that requests certificate revocation on the basis of a PKCS#10 CSR may dereference a NULL pointer and terminate abnormally when processing a crafted revocation response. Impact summary: The NULL pointer dereference happens on a read which leads to a crash and a Denial of Service for the affected client application. CWE: CWE-476: NULL-pointer dereference Description: A CMP client revoking a certificate has to tell the server which certificate to revoke, and may do so by supplying a PKCS#10 CSR instead of the certificate itself or its issuer name and serial number. This is 'openssl cmp -cmd rr -csr <file>' on the command line, or OSSL_CMP_exec_RR_ses() with the certificate supplied via OSSL_CMP_CTX_set1_p10CSR() through the API. A CSR does not contain the issuer name and serial number of the certificate, so the client does not send them. A server may optionally name the certificate it revoked in its response, and the client then compares that name against what it sent. Having sent neither an issuer name nor a serial number, it has nothing to compare against, and a server returning a specially crafted name causes the client to read from a NULL pointer and crash. The revocation response is checked for valid message protection before the affected code is reached, so an attacker must be a malicious or compromised CMP server, or a man-in-the-middle in possession of the secret used for message protection. Clients that identify the certificate to be revoked by a certificate or by issuer and serial number rather than by a PKCS#10 CSR are not affected. FIPS impact: no No FIPS modules are affected by this issue, as the CMP protocol implementation is outside the OpenSSL FIPS module boundary.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.3.
Versioni da aggiornare
- 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/7588db7fef142…
- Patch: github.com/openssl/openssl/commit/7ca0ccb5172a5…
- Patch: github.com/openssl/openssl/commit/9eb2a8a9b8613…
- Patch: github.com/openssl/openssl/commit/abf02872a4b71…
- Advisory del vendor: openssl-library.org/news/secadv/20260929.txt
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre la superficie esposta (disattivare servizi e funzionalità inutilizzati), mantenere attive le protezioni del sistema operativo (ASLR, DEP/NX) e segmentare la rete.
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 | ≥ 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/7588db7fef14209c3caa3a101d11a02006b19166
- Patchhttps://github.com/openssl/openssl/commit/7ca0ccb5172a577e9b87267d77bfe21e5481a5e7
- Patchhttps://github.com/openssl/openssl/commit/9eb2a8a9b86136cdb39d6d7d50644dd66941cdc3
- Patchhttps://github.com/openssl/openssl/commit/abf02872a4b71767ecc72293424420f5b009190f
- Advisory del vendorhttps://openssl-library.org/news/secadv/20260929.txt
- Riferimentohttps://cert-portal.siemens.com/productcert/html/ssa-457936.html