p PatchFirst

PatchFirst · Latest vulnerabilities

golang-1.16 vulnerabilities

Vulnerabilities published for golang-1.16 in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 18

  1. CVE-2023-24538

    Critical · CVSS 9.8EPSS 2.28%Fix available

    Backticks not treated as string delimiters in html/template

    Templates do not properly consider backticks (`) as Javascript string delimiters, and do not escape them as expected. Backticks are used, since ES6, for JS template literals. If a template contains a Go template action within a Javascript template literal, the contents of the action can be used to terminate the literal, injecting arbitrary Javascript code into the Go template. As ES6 template literals are rather complex, and themselves can do string interpolation, the decision was made to simply disallow Go template actions from being used inside of them (e.g. "var a = {{.}}"), since there is no obviously safe way to allow this behavior. This

    • Update to 1.16.2-0ubuntu1~20.04.1
    Published Updated
  2. CVE-2023-24534

    High · CVSS 7.5EPSS 1.89%Fix available

    Excessive memory allocation in net/http and net/textproto

    HTTP and MIME header parsing can allocate large amounts of memory, even when parsing small inputs, potentially leading to a denial of service. Certain unusual patterns of input data can cause the common function used to parse HTTP and MIME headers to allocate substantially more memory than required to hold the parsed headers. An attacker can exploit this behavior to cause an HTTP server to allocate large amounts of memory from a small request, potentially leading to memory exhaustion and a denial of service. With fix, header parsing now correctly allocates only the memory required to hold parsed headers.

    • Update to 1.16.2-0ubuntu1~20.04.1
    Published Updated
  3. CVE-2022-41717

    Medium · CVSS 5.3EPSS 6.08%Fix available

    Excessive memory growth in net/http and golang.org/x/net/http2

    An attacker can cause excessive memory growth in a Go server accepting HTTP/2 requests. HTTP/2 server connections contain a cache of HTTP header keys sent by the client. While the total number of entries in this cache is capped, an attacker sending very large keys can cause the server to allocate approximately 64 MiB per open connection.

    • Update to 1.16.2-0ubuntu1~20.04.1
    Published Updated
  4. CVE-2022-2880

    High · CVSS 7.5EPSS 1.41%Fix available

    Incorrect sanitization of forwarded query parameters in net/http/httputil

    Requests forwarded by ReverseProxy include the raw query parameters from the inbound request, including unparsable parameters rejected by net/http. This could permit query parameter smuggling when a Go proxy forwards a parameter with an unparsable value. After fix, ReverseProxy sanitizes the query parameters in the forwarded query when the outbound request's Form field is set after the ReverseProxy. Director function returns, indicating that the proxy has parsed the query parameters. Proxies which do not parse query parameters continue to forward the original query parameters unchanged.

    • Update to 1.16.2-0ubuntu1~20.04.1
    Published Updated
  5. CVE-2022-2879

    High · CVSS 7.5EPSS 2.01%Fix available

    Unbounded memory consumption when reading headers in archive/tar

    Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB.

    • Update to 1.16.2-0ubuntu1~20.04.1
    Published Updated
  6. CVE-2022-32148

    Medium · CVSS 6.5EPSS 1.52%Fix available

    Exposure of client IP addresses in net/http

    Improper exposure of client IP addresses in net/http before Go 1.17.12 and Go 1.18.4 can be triggered by calling httputil.ReverseProxy.ServeHTTP with a Request.Header map containing a nil value for the X-Forwarded-For header, which causes ReverseProxy to set the client IP as the value of the X-Forwarded-For header.

    • Update to 1.16.2-0ubuntu1~20.04.1
    Published Updated
  7. CVE-2022-30629

    Low · CVSS 3.1EPSS 1.21%Fix available

    Session tickets lack random ticket_age_add in crypto/tls

    Non-random values for ticket_age_add in session tickets in crypto/tls before Go 1.17.11 and Go 1.18.3 allow an attacker that can observe TLS handshakes to correlate successive connections by comparing ticket ages during session resumption.

    • Update to 1.16.2-0ubuntu1~20.04.1
    Published Updated
  8. CVE-2022-1705

    Medium · CVSS 6.5EPSS 1.53%Fix available

    Improper sanitization of Transfer-Encoding headers in net/http

    Acceptance of some invalid Transfer-Encoding headers in the HTTP/1 client in net/http before Go 1.17.12 and Go 1.18.4 allows HTTP request smuggling if combined with an intermediate server that also improperly fails to reject the header as invalid.

    • Update to 1.16.2-0ubuntu1~20.04.1
    Published Updated
  9. CVE-2022-30631

    High · CVSS 7.5EPSS 2.19%Fix available

    Stack exhaustion when reading certain archives in compress/gzip

    Uncontrolled recursion in Reader.Read in compress/gzip before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via an archive containing a large number of concatenated 0-length compressed files.

    • Update to 1.16.2-0ubuntu1~20.04.1
    Published Updated
  10. CVE-2022-30633

    High · CVSS 7.5EPSS 2.21%Fix available

    Stack exhaustion when unmarshaling certain documents in encoding/xml

    Uncontrolled recursion in Unmarshal in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via unmarshalling an XML document into a Go struct which has a nested field that uses the 'any' field tag.

    • Update to 1.16.2-0ubuntu1~20.04.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →