CVE-2022-23772
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-23772 is a vulnerability discovered in Go programming language's math/big package, specifically in the Rat.SetString function. The vulnerability affects Go versions before 1.16.14 and 1.17.x before 1.17.7. This security flaw was discovered by the OSS-Fuzz project and reported by Emmanuel Odeke (Golang Announce).

Technical details

The vulnerability exists in the Rat.SetString function within the math/big package of Go. When exploited, it can cause an overflow condition that leads to uncontrolled memory consumption. The vulnerability has been assigned a CVSS 3.1 base score of 7.5 (HIGH), indicating significant severity (Ubuntu CVE).

Impact

If successfully exploited, this vulnerability can result in unbounded memory growth in programs using the (*Rat).SetString function due to an unhandled overflow condition. This could potentially lead to denial of service through uncontrolled memory consumption (Golang Announce).

Mitigation and workarounds

The vulnerability has been fixed in Go versions 1.16.14 and 1.17.7. Users are strongly recommended to upgrade to these or later versions to address the security issue. The fix was released as part of the February 2022 security updates (Golang Announce).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 2025

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