Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. golang.org/x/crypto
  4. ›
  5. CVE-2025-22869

CVE-2025-22869: golang.org/x/crypto Vulnerable to Denial of Service (DoS) via Slow or Incomplete Key Exchange

April 12, 2025 (updated April 14, 2025)

SSH servers which implement file transfer protocols are vulnerable to a denial of service attack from clients which complete the key exchange slowly, or not at all, causing pending content to be read into memory, but never transmitted.

References

  • github.com/advisories/GHSA-hcg3-q754-cr77
  • github.com/golang/crypto
  • github.com/golang/crypto/commit/7292932d45d55c7199324ab0027cc86e8198aa22
  • go-review.googlesource.com/c/crypto/+/652135
  • go.dev/cl/652135
  • go.dev/issue/71931
  • nvd.nist.gov/vuln/detail/CVE-2025-22869
  • pkg.go.dev/vuln/GO-2025-3487
  • security.netapp.com/advisory/ntap-20250411-0010

Code Behaviors & Features

Detect and mitigate CVE-2025-22869 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.35.0

Fixed versions

  • 0.35.0

Solution

Upgrade to version 0.35.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

go/golang.org/x/crypto/CVE-2025-22869.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:03 +0000.