CVE-2023-45287
Grafana vulnerability analysis and mitigation

Overview

CVE-2023-45287 affects Go versions before 1.20, where RSA-based TLS key exchanges used the math/big library, which was not constant time. While RSA blinding was applied to prevent timing attacks, analysis revealed that the removal of PKCS#1 padding could leak timing information, potentially allowing attackers to recover session key bits. The vulnerability was discovered and disclosed in December 2023 (NVD, Go Project).

Technical details

The vulnerability stems from the non-constant-time operations in the math/big library used for RSA-based TLS key exchanges. The timing side-channel could leak information during the removal of PKCS#1 padding, potentially exposing session key bits. The issue has a CVSS v3.1 base score of 7.5 (HIGH) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (NVD, Marvin Attack).

Impact

Successful exploitation of this vulnerability could allow attackers to decrypt RSA ciphertexts and forge signatures. For TLS servers using RSA encryption key exchanges, attackers could record sessions and decrypt them later. The vulnerability affects any system using Go's crypto/tls library for RSA operations before version 1.20 (Marvin Attack).

Mitigation and workarounds

The vulnerability was fixed in Go 1.20, where the crypto/tls library switched to a fully constant-time RSA implementation. Users should upgrade to Go 1.20 or later versions. Additionally, it's recommended to disable RSA encryption ciphersuites and use forward-secure key exchange methods like Elliptic Curve Diffie-Hellman instead (Go Project, Marvin Attack).

Community reactions

The vulnerability has been dubbed the 'Marvin Attack' and has received significant attention in the security community. It represents a revival of the 25-year-old Bleichenbacher attack against RSA PKCS#1 v1.5 padding, demonstrating that even small timing differences can be exploitable in practice (Marvin Attack).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management