Skip to content
OpenAdvisories
Unscored SUSE-SU-2022:1410-1 3 CVEs

Security update for go1.18

Published Apr 26, 2022 · Updated May 2, 2025

Summary

This update for go1.18 fixes the following issues:

- CVE-2022-24675: Fixed a stack overlow in Decode() in encoding/pem (bsc#1198423).
- CVE-2022-28327: Fixed a crash due to refused oversized scalars in generic P-256 (bsc#1198424).
- CVE-2022-27536: Fixed a crash in Certificate.Verify in crypto/x509 (bsc#1198427).

Bump go1.18 (bsc#1193742)

Fixed packages 3

ReleasePackageFixed in
openSUSE · Leap 15.3 go1.18 1.18.1-150000.1.11.1
openSUSE · Leap 15.4 go1.18 1.18.1-150000.1.11.1
SUSE · SLES 15 SP3 Linux Enterprise Module for Development Tools 15 SP3 go1.18 1.18.1-150000.1.11.1

Vulnerabilities 3

  • Unscored —
    CVE-2022-24675 Public exploit

    Stack overflow from a large amount of PEM data in encoding/pem

    encoding/pem in Go before 1.17.9 and 1.18.x before 1.18.1 has a Decode stack overflow via a large amount of PEM data.

  • Unscored —

    Panic during certificate parsing on Darwin in crypto/x509

    Certificate.Verify in crypto/x509 in Go 1.18.x before 1.18.1 can be caused to panic on macOS when presented with certain malformed certificates. This allows a remote TLS server to cause a TLS client to panic.

  • Unscored —

    Panic due to large inputs affecting P-256 curves in crypto/elliptic

    The generic P-256 feature in crypto/elliptic in Go before 1.17.9 and 1.18.x before 1.18.1 allows a panic via long scalar input.

References

  • report
    https://bugzilla.suse.com/1183043
  • report
    https://bugzilla.suse.com/1193742
  • report
    https://bugzilla.suse.com/1198423
  • report
    https://bugzilla.suse.com/1198424
  • report
    https://bugzilla.suse.com/1198427
  • web
    https://www.suse.com/security/cve/CVE-2022-24675
  • web
    https://www.suse.com/security/cve/CVE-2022-27536
  • web
    https://www.suse.com/security/cve/CVE-2022-28327