UbuntuUpdates.org

Package "golang-1.22"

Name: golang-1.22

Description:

Go programming language compiler - metapackage

Latest version: 1.22.2-2~22.04.4
Release: jammy (22.04)
Level: updates
Repository: universe
Homepage: https://go.dev/

Links


Download "golang-1.22"


Other versions of "golang-1.22" in Jammy

Repository Area Version
security universe 1.22.2-2~22.04.4

Packages in group

Deleted packages are displayed in grey.


Changelog

Version: 1.22.2-2~22.04.4 2026-10-21 09:07:41 UTC

golang-1.22 (1.22.2-2~22.04.4) jammy-security; urgency=medium

  * SECURITY UPDATE: denial of service via TLS KeyUpdate messages
    - debian/patches/CVE-2026-56862.patch: [release-branch.go1.25] crypto/tls:
      do not count handshake messages as state-advancing post-handshake in
      src/crypto/tls/conn.go, src/crypto/tls/conn_test.go.
    - CVE-2026-56862
  * SECURITY UPDATE: denial of service via deeply nested XML
    - debian/patches/CVE-2026-56859.patch: [release-branch.go1.25] encoding/xml:
      fix depth processing in (*Decoder).unmarshal in src/encoding/xml/read.go,
      src/encoding/xml/read_test.go, src/encoding/xml/xml.go.
    - CVE-2026-56859
  * SECURITY UPDATE: denial of service via deeply nested ASN.1
    - debian/patches/CVE-2026-33818.patch: [release-branch.go1.25]
      encoding/asn1: enforce maximum recursion depth in
      src/encoding/asn1/asn1.go, src/encoding/asn1/asn1_test.go.
    - CVE-2026-33818
  * SECURITY UPDATE: module checksum database verification bypass
    - debian/patches/CVE-2026-56865.patch: [release-branch.go1.25] cmd/vendor:
      fix CVE-2026-56865 in x/mod in
      src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go.
    - CVE-2026-56865
  * SECURITY UPDATE: HTTP response smuggling via HTTP/2 framing headers
    - debian/patches/CVE-2026-78660.patch: [internal-branch.go1.26-vendor]
      http2: delete malformed framing-related headers in
      src/net/http/h2_bundle.go.
    - CVE-2026-78660
  * SECURITY UPDATE: denial of service via multipart form parsing
    - debian/patches/CVE-2026-94440.patch: [release-branch.go1.26]
      net/textproto: enforce MIME memory limit on first line in
      src/mime/multipart/formdata.go, src/net/textproto/reader.go,
      src/net/textproto/reader_test.go.
    - CVE-2026-94440
  * SECURITY UPDATE: HTTP response poisoning via CONNECT requests
    - debian/patches/CVE-2026-56866.patch: [release-branch.go1.26] net/http,
      net/http/httputil: avoid post-CONNECT pool corruption in
      src/net/http/httputil/reverseproxy.go,
      src/net/http/httputil/reverseproxy_test.go, src/net/http/transport.go,
      src/net/http/transport_test.go.
    - CVE-2026-56866
  * SECURITY UPDATE: HTTP request smuggling via CONNECT requests
    - debian/patches/CVE-2026-94439.patch: [release-branch.go1.26] net/http:
      avoid server reuse of connection after CONNECT in
      src/net/http/serve_test.go, src/net/http/server.go.
    - CVE-2026-94439
  * SECURITY UPDATE: denial of service via Range headers
    - debian/patches/CVE-2026-78667.patch: [release-branch.go1.26] net/http:
      limit the size of range headers parsed in ServeContent in doc/godebug.md,
      src/internal/godebugs/table.go, src/net/http/fs.go,
      src/net/http/range_test.go, src/runtime/metrics/doc.go.
    - CVE-2026-78667
  * SECURITY UPDATE: denial of service via HTTP/2 SETTINGS frames
    - debian/patches/CVE-2026-78669.patch: [internal-branch.go1.26-vendor]
      http2: avoid excessive work on initial window changes in
      src/net/http/h2_bundle.go.
    - CVE-2026-78669
  * SECURITY UPDATE: HTTP/2 flow control limit bypass
    - debian/patches/CVE-2026-78663.patch: [internal-branch.go1.26-vendor]
      http2: avoid 2x refund on stream close with buffered data in
      src/net/http/h2_bundle.go.
    - CVE-2026-78663
  * SECURITY UPDATE: denial of service via HTTP/2 Trailer headers
    - debian/patches/CVE-2026-78659.patch: [internal-branch.go1.26-vendor]
      http2: apply header limits to Trailer headers too in
      src/net/http/h2_bundle.go.
    - CVE-2026-78659

 -- John Breton Thu, 15 Oct 2026 11:29:59 -0400

Source diff to previous version
CVE-2026-56862 Handshake messages, such as KeyUpdate, are always considered as state-advancing, regardless of whether a handshake has been completed or not. As a re
CVE-2026-56859 Previously, DecodeElement would reset the depth counter causing it to never fire; this could lead to stack exhaustion.
CVE-2026-33818 Enforce a recursion limit in Unmarshal to prevent stack exhaustion when parsing deeply-nested, recursive structures.
CVE-2026-56865 A malicious GOPROXY was previously capable of forging up to two sumdb tiles that allow for a requested module to bypass the GOSUMDB check and persist
CVE-2026-78660 Historically, we have been rather lax about malformed framing-related headers in our HTTP/2 implementation, as they cannot interfere with HTTP/2 fram
CVE-2026-94440 Parsing a multipart form can bypass memory limits and read an arbitrarily long line into memory when the remaining limit at the start of a part is le
CVE-2026-56866 When http.Transport sends an HTTP/1 CONNECT request with a non-empty Request.Body, it writes the body directly to the connection without framing afte
CVE-2026-94439 When an HTTP server handler sends a 2xx response to an HTTP/1 CONNECT request and returns without hijacking the connection, the server improperly con
CVE-2026-78667 When parsing a Range header containing a large number of small ranges, FileServer(FS), ServeContent, and ServeFile(FS) can consume an excessive amoun
CVE-2026-78669 A malicious HTTP/2 peer can cause excessive CPU consumption in the client or server by opening a large number of streams and then sending many small
CVE-2026-78663 The HTTP/2 server can refund connection-level flow control twice for the same data: Once when a client resets a stream (refunding data for any sent-b
CVE-2026-78659 When "Trailer" headers are sent by a client, the HTTP server internally uses the header values to populate the Request.Trailer map passed to the serv

Version: 1.22.2-2~22.04.3 2025-06-19 06:08:19 UTC

  golang-1.22 (1.22.2-2~22.04.3) jammy-security; urgency=medium

  * SECURITY UPDATE: leak sensitive headers when handling redirect
    requests.
    - debian/patches/CVE-2024-45336.patch: net/http: persist header
      stripping across repeated redirects.
    - CVE-2024-45336
  * SECURITY UPDATE: IPv6 zone IDs can bypass URI name constraints.
    - debian/patches/CVE-2024-45341.patch: crypto/x509: properly
      check for IPv6 hosts in URIs.
    - CVE-2024-45341
  * SECURITY UPDATE: information bit leak on ppc64le architecture.
    - debian/patches/CVE-2025-22866.patch: crypto/internal/fips140/nistec:
      make p256NegCond constant time on ppc64le.
    - CVE-2025-22866
  * SECURITY UPDATE: denial of service issue by improperly treating an IPv6
    zone ID as a hostname component.
    - debian/patches/CVE-2025-22870.patch: http/httpproxy: do not mismatch
      IPv6 zone ids against hosts.
    - CVE-2025-22870
  * SECURITY UPDATE: leak sensitive information on redirects outside of
    the original domain.
    - debian/patches/CVE-2025-4673.patch: net/http: strip sensitive proxy
      headers from redirect requests.
    - CVE-2025-4673
  * BUILD UPDATE: tls certificate expired during building and testing.
    - debian/patches/fix-config-time-tests-using-expired-certs.patch:
      crypto/tls: fix Config.Time in tests using expired certificates.

 -- Evan Caville <email address hidden> Wed, 11 Jun 2025 11:13:54 +1000

Source diff to previous version
CVE-2024-45336 The HTTP client drops sensitive headers after following a cross-domain redirect. For example, a request to a.com/ containing an Authorization header
CVE-2024-45341 A certificate with a URI which has a IPv6 address with a zone ID may incorrectly satisfy a URI name constraint that applies to the certificate chain.
CVE-2025-22866 Due to the usage of a variable time instruction in the assembly implementation of an internal function, a small number of bits of secret scalars are
CVE-2025-22870 Matching of hosts against proxy patterns can improperly treat an IPv6 zone ID as a hostname component. For example, when the NO_PROXY environment var
CVE-2025-4673 Proxy-Authorization and Proxy-Authenticate headers persisted on cross-origin redirects potentially leaking sensitive information.

Version: 1.22.2-2~22.04.2 2024-10-23 11:12:21 UTC

  golang-1.22 (1.22.2-2~22.04.2) jammy-security; urgency=medium

  * SECURITY UPDATE: denial of service issue when handling
    â€œExpect: 100-continue” headers
    - debian/patches/CVE-2024-24791.patch: net/http: send body or close
      connection on expect-100-continue requests.
    - CVE-2024-24791
  * SECURITY UPDATE: denial of service issue when calling any Parse functions
    from stack exhaustion
    - debian/patches/CVE-2024-34155.patch: go/parser: track depth in nested
      element lists.
    - CVE-2024-34155
  * SECURITY UPDATE: denial of service issue when decoding a message from
    stack exhaustion
    - debian/patches/CVE-2024-34156.patch: encoding/gob: cover missed cases
      when checking ignore depth.
    - CVE-2024-34156
  * SECURITY UPDATE: denial of service issue when calling Parse on certain
    build tags from stack exhaustion
    - debian/patches/CVE-2024-34158.patch: go/build/constraint: add parsing
      limits.
    - CVE-2024-34158

 -- Evan Caville <email address hidden> Fri, 18 Oct 2024 13:43:09 +1100

Source diff to previous version
CVE-2024-24791 The net/http HTTP/1.1 client mishandled the case where a server responds to a request with an "Expect: 100-continue" header with a non-informational
CVE-2024-34155 Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.
CVE-2024-34156 Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-202
CVE-2024-34158 Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.

Version: 1.22.2-2~22.04.1 2024-07-09 17:07:13 UTC

  golang-1.22 (1.22.2-2~22.04.1) jammy-security; urgency=medium

  * SECURITY UPDATE: denial of service issue
    - debian/patches/CVE-2024-24788.patch: net: check SkipAdditional error
      result
    - CVE-2024-24788
  * SECURITY UPDATE: denial of service issue
    - debian/patches/CVE-2024-24789.patch: archive/zip: treat truncated
      EOCDR comment as an error
    - debian/source/include-binaries: Add zip testdata file
    - CVE-2024-24789
  * SECURITY UPDATE: incorrect IPv4-mapped IPv6 addresses issue
    - debian/patches/CVE-2024-24790.patch: net/netip: check if address is
      v6 mapped in Is methods
    - CVE-2024-24790

 -- Nishit Majithia <email address hidden> Mon, 08 Jul 2024 17:45:50 +0530

Source diff to previous version
CVE-2024-24788 A malformed DNS message in response to a query can cause the Lookup functions to get stuck in an infinite loop.
CVE-2024-24789 The archive/zip package's handling of certain types of invalid zip files differs from the behavior of most zip implementations. This misalignment cou
CVE-2024-24790 The various Is methods (IsPrivate, IsLoopback, etc) did not work as expected for IPv4-mapped IPv6 addresses, returning false for addresses which woul

Version: 1.22.2-2~22.04 2024-06-18 09:07:29 UTC

  golang-1.22 (1.22.2-2~22.04) jammy; urgency=medium

  * Backport golang 1.22 to jammy (LP: #2059756)
  * Build with Go 1.20
    - d/control{,.in}: use golang-1.20-go in Build-Depends
    - d/rules: use /usr/lib/go-1.20/bin/go to set GOROOT_BOOTSTRAP path

 -- Gabriel Nagy <email address hidden> Mon, 22 Apr 2024 14:49:00 +0300

2059756 [SRU] adsys 0.14.1



About   -   Send Feedback to @ubuntu_updates