Skip to content
Heist/ feed
Back to feed
HighFix available

golang-1.19 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-30635

Uncontrolled recursion in Decoder.Decode in encoding/gob before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a message which contains deeply nested structures.

Products
golang-1.19
Affected versions
Not specified
Fixed versions
1.19~rc2-1
CVEs
CVE-2022-30635
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 15:29 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-30635

core-osv · Original source

Published 10 Aug 2022, 20:15 UTC

Uncontrolled recursion in Decoder.Decode in encoding/gob before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a message which contains deeply nested structures.

osv:DEBIAN-CVE-2022-30635

golang-1.19

Fixed versions: 1.19~rc2-1

Complete source record
{
  "id": "1a5bd43457a3cf9199d09993f98db43b4ec636ad5141639caf74ead2ebf48238",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-30635",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-30635",
    "summary": "Uncontrolled recursion in Decoder.Decode in encoding/gob before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a message which contains deeply nested structures.",
    "evidence": "osv:DEBIAN-CVE-2022-30635",
    "products": [
      {
        "name": {
          "value": "golang-1.19",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.19~rc2-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2022-30635",
      "aliases": [
        "DEBIAN-CVE-2022-30635"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.19~rc2-1"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-1.19",
            "purl": "pkg:deb/debian/golang-1.19?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-30635.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:03:04.092126492Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-30635"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-30635"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-30635",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 325026,
  "published_at": "2022-08-10T20:15:42.64+00:00"
}