GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-32189 (GCVE-0-2022-32189)

Vulnerability from cvelistv5 – Published: 2022-08-09 20:17 – Updated: 2024-08-03 07:32
VLAI
Title
Panic when decoding Float and Rat types in math/big
Summary
A too-short encoded message can cause a panic in Float.GobDecode and Rat GobDecode in math/big in Go before 1.17.13 and 1.18.5, potentially allowing a denial of service.
CWE
  • CWE 400: Uncontrolled Resource Consumption
Assigner
Impacted products
Vendor Product Version CPE status
Go standard library math/big Affected: 0 , < 1.17.13 (semver)
Affected: 1.18.0-0 , < 1.18.5 (semver)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T07:32:56.026Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://go.dev/cl/417774"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://go.googlesource.com/go/+/055113ef364337607e3e72ed7d48df67fde6fc66"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://go.dev/issue/53871"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://groups.google.com/g/golang-announce/c/YqYYG87xB10"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://pkg.go.dev/vuln/GO-2022-0537"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://pkg.go.dev",
          "defaultStatus": "unaffected",
          "packageName": "math/big",
          "product": "math/big",
          "programRoutines": [
            {
              "name": "Float.GobDecode"
            },
            {
              "name": "Rat.GobDecode"
            }
          ],
          "vendor": "Go standard library",
          "versions": [
            {
              "lessThan": "1.17.13",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThan": "1.18.5",
              "status": "affected",
              "version": "1.18.0-0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "@catenacyber"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "A too-short encoded message can cause a panic in Float.GobDecode and Rat GobDecode in math/big in Go before 1.17.13 and 1.18.5, potentially allowing a denial of service."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "CWE 400: Uncontrolled Resource Consumption",
              "lang": "en"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2023-06-12T19:05:15.506Z",
        "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "shortName": "Go"
      },
      "references": [
        {
          "url": "https://go.dev/cl/417774"
        },
        {
          "url": "https://go.googlesource.com/go/+/055113ef364337607e3e72ed7d48df67fde6fc66"
        },
        {
          "url": "https://go.dev/issue/53871"
        },
        {
          "url": "https://groups.google.com/g/golang-announce/c/YqYYG87xB10"
        },
        {
          "url": "https://pkg.go.dev/vuln/GO-2022-0537"
        }
      ],
      "title": "Panic when decoding Float and Rat types in math/big"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
    "assignerShortName": "Go",
    "cveId": "CVE-2022-32189",
    "datePublished": "2022-08-09T20:17:59.000Z",
    "dateReserved": "2022-05-31T00:00:00.000Z",
    "dateUpdated": "2024-08-03T07:32:56.026Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-32189",
      "date": "2026-09-20",
      "epss": "0.02484",
      "percentile": "0.83879"
    },
    "fkie_nvd": {
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "E7E9739F-F721-4396-AB8C-C4BAEB0976B6",
                  "versionEndExcluding": "1.17.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "67624D31-C75B-4EFB-965F-5A650B908FE9",
                  "versionEndExcluding": "1.18.5",
                  "versionStartIncluding": "1.18.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "A too-short encoded message can cause a panic in Float.GobDecode and Rat GobDecode in math/big in Go before 1.17.13 and 1.18.5, potentially allowing a denial of service."
        },
        {
          "lang": "es",
          "value": "Un mensaje codificado demasiado corto puede causar un p\u00e1nico en Float.GobDecode y Rat GobDecode en math/big en Go versiones anteriores a 1.17.13 y 1.18.5, permitiendo potencialmente una denegaci\u00f3n de servicio"
        }
      ],
      "id": "CVE-2022-32189",
      "lastModified": "2024-11-21T07:05:53.513",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 7.5,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 3.6,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2022-08-10T20:15:47.507",
      "references": [
        {
          "source": "security@golang.org",
          "tags": [
            "Patch"
          ],
          "url": "https://go.dev/cl/417774"
        },
        {
          "source": "security@golang.org",
          "tags": [
            "Exploit",
            "Third Party Advisory"
          ],
          "url": "https://go.dev/issue/53871"
        },
        {
          "source": "security@golang.org",
          "tags": [
            "Mailing List",
            "Patch"
          ],
          "url": "https://go.googlesource.com/go/+/055113ef364337607e3e72ed7d48df67fde6fc66"
        },
        {
          "source": "security@golang.org",
          "tags": [
            "Mailing List",
            "Third Party Advisory"
          ],
          "url": "https://groups.google.com/g/golang-announce/c/YqYYG87xB10"
        },
        {
          "source": "security@golang.org",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://pkg.go.dev/vuln/GO-2022-0537"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch"
          ],
          "url": "https://go.dev/cl/417774"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Exploit",
            "Third Party Advisory"
          ],
          "url": "https://go.dev/issue/53871"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Mailing List",
            "Patch"
          ],
          "url": "https://go.googlesource.com/go/+/055113ef364337607e3e72ed7d48df67fde6fc66"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Mailing List",
            "Third Party Advisory"
          ],
          "url": "https://groups.google.com/g/golang-announce/c/YqYYG87xB10"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://pkg.go.dev/vuln/GO-2022-0537"
        }
      ],
      "sourceIdentifier": "security@golang.org",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "NVD-CWE-noinfo"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://pkg.go.dev",
                "defaultStatus": "unaffected",
                "packageName": "math/big",
                "product": "math/big",
                "programRoutines": [
                  {
                    "name": "Float.GobDecode"
                  },
                  {
                    "name": "Rat.GobDecode"
                  }
                ],
                "vendor": "Go standard library",
                "versions": [
                  {
                    "lessThan": "1.17.13",
                    "status": "affected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "1.18.5",
                    "status": "affected",
                    "version": "1.18.0-0",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "security@golang.org"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E7E9739F-F721-4396-AB8C-C4BAEB0976B6",
                    "versionEndExcluding": "1.17.13",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "67624D31-C75B-4EFB-965F-5A650B908FE9",
                    "versionEndExcluding": "1.18.5",
                    "versionStartIncluding": "1.18.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "A too-short encoded message can cause a panic in Float.GobDecode and Rat GobDecode in math/big in Go before 1.17.13 and 1.18.5, potentially allowing a denial of service."
          },
          {
            "lang": "es",
            "value": "Un mensaje codificado demasiado corto puede causar un p\u00e1nico en Float.GobDecode y Rat GobDecode en math/big en Go versiones anteriores a 1.17.13 y 1.18.5, permitiendo potencialmente una denegaci\u00f3n de servicio"
          }
        ],
        "id": "CVE-2022-32189",
        "lastModified": "2026-06-17T04:46:49.810",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2022-08-10T20:15:47.507",
        "references": [
          {
            "source": "security@golang.org",
            "tags": [
              "Patch"
            ],
            "url": "https://go.dev/cl/417774"
          },
          {
            "source": "security@golang.org",
            "tags": [
              "Exploit",
              "Third Party Advisory"
            ],
            "url": "https://go.dev/issue/53871"
          },
          {
            "source": "security@golang.org",
            "tags": [
              "Mailing List",
              "Patch"
            ],
            "url": "https://go.googlesource.com/go/+/055113ef364337607e3e72ed7d48df67fde6fc66"
          },
          {
            "source": "security@golang.org",
            "tags": [
              "Mailing List",
              "Third Party Advisory"
            ],
            "url": "https://groups.google.com/g/golang-announce/c/YqYYG87xB10"
          },
          {
            "source": "security@golang.org",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://pkg.go.dev/vuln/GO-2022-0537"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch"
            ],
            "url": "https://go.dev/cl/417774"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Exploit",
              "Third Party Advisory"
            ],
            "url": "https://go.dev/issue/53871"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Mailing List",
              "Patch"
            ],
            "url": "https://go.googlesource.com/go/+/055113ef364337607e3e72ed7d48df67fde6fc66"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Mailing List",
              "Third Party Advisory"
            ],
            "url": "https://groups.google.com/g/golang-announce/c/YqYYG87xB10"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://pkg.go.dev/vuln/GO-2022-0537"
          }
        ],
        "sourceIdentifier": "security@golang.org",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "NVD-CWE-noinfo"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-09-08T23:06:53+00:00",
      "cve": "CVE-2022-32189",
      "id": "CVE-2022-32189",
      "initial_release_date": "2022-08-01T00:00:00+00:00",
      "product_status:fixed": "1473",
      "product_status:known_affected": "156",
      "product_status:known_not_affected": "2206",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "golang: math/big: decoding big.Float and big.Rat types can panic if the encoded message is too short, potentially allowing a denial of service",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-32189.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-15T02:29:31Z",
      "cve": "CVE-2022-32189",
      "id": "CVE-2022-32189",
      "initial_release_date": "2023-02-15T03:25:25Z",
      "product_status:recommended": "284",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-32189",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-32189.json",
      "version": "15"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…