MGASA-2022-0171 - Updated golang packages fix security vulnerability

Publication date: 12 May 2022
URL: https://advisories.mageia.org/MGASA-2022-0171.html
Type: security
Affected Mageia releases: 8
CVE: CVE-2022-24675,
     CVE-2022-28327

encoding/pem: fix stack overflow in Decode. A large (more than 5 MB) PEM
input can cause a stack overflow in Decode, leading the program to crash
(CVE-2022-24675)

crypto/elliptic: tolerate all oversized scalars in generic P-256.  A
crafted scalar input longer than 32 bytes can cause P256().ScalarMult
or P256().ScalarBaseMult to panic. Indirect uses through crypto/ecdsa and
crypto/tls are unaffected. amd64, arm64, ppc64le, and s390x are unaffected.
(CVE-2022-28327)

References:
- https://bugs.mageia.org/show_bug.cgi?id=30362
- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/6F72F4XQADWZ2XEWVPBHNKW46B6FKIXL/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24675
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28327

SRPMS:
- 8/core/golang-1.17.9-1.mga8

Mageia 2022-0171: golang security update

encoding/pem: fix stack overflow in Decode

Summary

encoding/pem: fix stack overflow in Decode. A large (more than 5 MB) PEM input can cause a stack overflow in Decode, leading the program to crash (CVE-2022-24675)
crypto/elliptic: tolerate all oversized scalars in generic P-256. A crafted scalar input longer than 32 bytes can cause P256().ScalarMult or P256().ScalarBaseMult to panic. Indirect uses through crypto/ecdsa and crypto/tls are unaffected. amd64, arm64, ppc64le, and s390x are unaffected. (CVE-2022-28327)

References

- https://bugs.mageia.org/show_bug.cgi?id=30362

- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/6F72F4XQADWZ2XEWVPBHNKW46B6FKIXL/

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24675

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28327

Resolution

MGASA-2022-0171 - Updated golang packages fix security vulnerability

SRPMS

- 8/core/golang-1.17.9-1.mga8

Severity
Publication date: 12 May 2022
URL: https://advisories.mageia.org/MGASA-2022-0171.html
Type: security
CVE: CVE-2022-24675, CVE-2022-28327

Related News