Insecure Default Initialization of Resource Affecting code.gitea.io/gitea/modules/setting package, versions <1.25.0-rc0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-CODEGITEAIOGITEAMODULESSETTING-16191829
  • published24 Apr 2026
  • disclosed22 Apr 2026
  • creditgnzsnz

Introduced: 22 Apr 2026

CVE NOT AVAILABLE CWE-1188  (opens in a new tab)
CWE-327  (opens in a new tab)

How to fix?

Upgrade code.gitea.io/gitea/modules/setting to version 1.25.0-rc0 or higher.

Overview

Affected versions of this package are vulnerable to Insecure Default Initialization of Resource due to insecure default SSH server configuration, which advertises weak or deprecated key exchange, MAC, and host key algorithms. An attacker can compromise the confidentiality and integrity of SSH connections by exploiting these weak cryptographic settings.

CVSS Base Scores

version 4.0
version 3.1