x-crypto up to 0.30.x on Go ServerConfig.PublicKeyCallback excessive reliance on global variables

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.2$0-$5k0.00

Summaryinfo

A vulnerability was found in x-crypto up to 0.30.x on Go. It has been declared as problematic. Impacted is the function ServerConfig.PublicKeyCallback. Such manipulation leads to excessive reliance on global variables. This vulnerability is referenced as CVE-2024-45337. No exploit is available. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as problematic, has been found in x-crypto up to 0.30.x on Go. Affected by this issue is the function ServerConfig.PublicKeyCallback. The manipulation with an unknown input leads to a excessive reliance on global variables vulnerability. Using CWE to declare the problem leads to CWE-1108. The code is structured in a way that relies too much on using or setting global variables throughout various points in the code, instead of preserving the associated information in a narrower, more local context. The impact remains unknown. CVE summarizes:

Applications and libraries which misuse the ServerConfig.PublicKeyCallback callback may be susceptible to an authorization bypass.

The advisory is available at go.dev. This vulnerability is handled as CVE-2024-45337 since 08/27/2024. Technical details are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 213037 (Fedora 41 : golang-x-crypto (2024-c33c95804e)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 0.31.0 eliminates this vulnerability.

The vulnerability is also documented in the databases at Tenable (213037) and CERT Bund (WID-SEC-2024-3690). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Affected

  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Fedora Linux
  • Ubuntu Linux
  • SUSE Linux
  • SUSE openSUSE
  • IBM MQ
  • Open Source Gitea
  • Red Hat OpenShift
  • IBM Storage Scale
  • Splunk Splunk Enterprise

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.2

VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

CNA Base Score: 9.1
CNA Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Excessive reliance on global variables
CWE: CWE-1108
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 213037
Nessus Name: Fedora 41 : golang-x-crypto (2024-c33c95804e)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: x-crypto 0.31.0

Timelineinfo

08/27/2024 🔍
12/11/2024 +106 days 🔍
12/11/2024 +0 days 🔍
06/20/2026 +556 days 🔍

Sourcesinfo

Advisory: go.dev
Status: Confirmed

CVE: CVE-2024-45337 (🔍)
GCVE (CVE): GCVE-0-2024-45337
GCVE (VulDB): GCVE-100-287930
CERT Bund: WID-SEC-2024-3690 - Gitea: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen

Entryinfo

Created: 12/11/2024 20:38
Updated: 06/20/2026 05:58
Changes: 12/11/2024 20:38 (53), 12/16/2024 12:17 (2), 02/01/2025 00:35 (12), 06/20/2026 05:58 (7)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!