openEuler Security Advisory
OESA-2025-2708
golang security update
Details
.
Security Fix(es):
tar.Reader does not set a maximum size on the number of sparse region data blocks in GNU tar pax 1.0 sparse files. A maliciously-crafted archive containing a large number of sparse regions can cause a Reader to read an unbounded amount of data from the archive into memory. When reading from a compressed source, a small compressed input can result in large allocations.(CVE-2025-58183)
Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.(CVE-2025-58185)
Validating certificate chains which contain DSA public keys can cause programs to panic, due to a interface cast that assumes they implement the Equal method. This affects programs which validate arbitrary certificate chains.(CVE-2025-58188)
When Conn.Handshake fails during ALPN negotiation the error contains attacker controlled information (the ALPN protocols sent by the client) which is not escaped.(CVE-2025-58189)
The Reader.ReadResponse function constructs a response string through repeated string concatenation of lines. When the number of lines in a response is large, this can cause excessive CPU consumption.(CVE-2025-61724)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:24.03-LTS-SP1 | golang | All versions before 1.21.4-38.oe2403sp1 (fixed in 1.21.4-38.oe2403sp1) |
References
- https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-2708
- https://nvd.nist.gov/vuln/detail/CVE-2025-58183
- https://nvd.nist.gov/vuln/detail/CVE-2025-58185
- https://nvd.nist.gov/vuln/detail/CVE-2025-58188
- https://nvd.nist.gov/vuln/detail/CVE-2025-58189
- https://nvd.nist.gov/vuln/detail/CVE-2025-61724