Input validation error in Go programming language - CVE-2025-22865

 

Input validation error in Go programming language - CVE-2025-22865

Published: January 30, 2025


Vulnerability identifier: #VU103458
CSH Severity: Medium
CVSS v4 BT: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID: CVE-2025-22865
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input in ParsePKCS1PrivateKey when parsing RSA keys with missing CRT values. A remote attacker can pass a specially crafted RSA key to the application and perform a denial of service (DoS) attack.


Affected software

Go programming language
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Enterprise Storage
Development Tools Module
openSUSE Leap
Storage Ceph
go1.24-race
go1.24
go1.24-doc
Red Hat Ceph Storage

How to mitigate CVE-2025-22865

Install updates from vendor's website.

Go programming language - update to 1.24 rc2
Storage Ceph - update to 8.1
go1.24-race - update to 1.24 rc2-150000.1.3.1
go1.24 - update to 1.24 rc2-150000.1.3.1
go1.24-doc - update to 1.24 rc2-150000.1.3.1
Red Hat Ceph Storage - addressed in versions 7.1, 8.1

External References

Related Security Bulletins