p PatchFirst

PatchFirst · Latest vulnerabilities

golang-1.18 vulnerabilities · Page 6

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

Filter vulnerabilities
Clear filters

Vulnerabilities: 108

  1. CVE-2023-29403

    High · CVSS 7.8EPSS 0.43%Fix available

    Unsafe behavior in setuid/setgid binaries in runtime

    On Unix platforms, the Go runtime does not behave differently when a binary is run with the setuid/setgid bits. This can be dangerous in certain cases, such as when dumping memory state, or assuming the status of standard i/o file descriptors. If a setuid/setgid binary is executed with standard I/O file descriptors closed, opening any files can result in unexpected content being read or written with elevated privileges. Similarly, if a setuid/setgid program is terminated, either via panic or signal, it may leak the contents of its registers.

    • Update to 1.18.1-1ubuntu1~18.04.4+esm1
    Published Updated
  2. CVE-2023-29402

    Critical · CVSS 9.8EPSS 1.69%Fix available

    Code injection via go command with cgo in cmd/go

    The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program which uses cgo. This may occur when running an untrusted module which contains directories with newline characters in their names. Modules which are retrieved using the go command, i.e. via "go get", are not affected (modules retrieved using GOPATH-mode, i.e. GO111MODULE=off, may be affected).

    • Update to 1.18.1-1ubuntu1~18.04.4+esm1
    Published Updated
  3. CVE-2023-24536

    High · CVSS 7.5EPSS 1.48%Fix available

    Excessive resource consumption in net/http, net/textproto and mime/multipart

    Multipart form parsing can consume large amounts of CPU and memory when processing form inputs containing very large numbers of parts. This stems from several causes: 1. mime/multipart.Reader.ReadForm limits the total memory a parsed multipart form can consume. ReadForm can undercount the amount of memory consumed, leading it to accept larger inputs than intended. 2. Limiting total memory does not account for increased pressure on the garbage collector from large numbers of small allocations in forms with many parts. 3. ReadForm can allocate a large number of short-lived buffers, further increasing pressure on the garbage collector. The combi

    • Update to 1.18.1-1ubuntu1~18.04.4+esm1
    Published Updated
  4. CVE-2022-41724

    High · CVSS 7.5EPSS 1.11%Fix available

    Panic on large handshake records in crypto/tls

    Large handshake records may cause panics in crypto/tls. Both clients and servers may send large TLS handshake records which cause servers and clients, respectively, to panic when attempting to construct responses. This affects all TLS 1.3 clients, TLS 1.2 clients which explicitly enable session resumption (by setting Config.ClientSessionCache to a non-nil value), and TLS 1.3 servers which request client certificates (by setting Config.ClientAuth >= RequestClientCert).

    • Update to 1.18.1-1ubuntu1~18.04.4+esm1
    Published Updated
  5. CVE-2022-41725

    High · CVSS 7.5EPSS 1.24%Fix available

    Excessive resource consumption in mime/multipart

    A denial of service is possible from excessive resource consumption in net/http and mime/multipart. Multipart form parsing with mime/multipart.Reader.ReadForm can consume largely unlimited amounts of memory and disk files. This also affects form parsing in the net/http package with the Request methods FormFile, FormValue, ParseMultipartForm, and PostFormValue. ReadForm takes a maxMemory parameter, and is documented as storing "up to maxMemory bytes +10MB (reserved for non-file parts) in memory". File parts which cannot be stored in memory are stored on disk in temporary files. The unconfigurable 10MB reserved for non-file parts is excessively

    • Update to 1.18.1-1ubuntu1~18.04.4+esm1
    Published Updated
  6. CVE-2022-41716

    Medium · CVSS 6.3EPSS 1.03%No fix published

    Unsanitized NUL in environment variables on Windows in syscall and os/exec

    Due to unsanitized NUL values, attackers may be able to maliciously set environment variables on Windows. In syscall.StartProcess and os/exec.Cmd, invalid environment variable values containing NUL values are not properly checked for. A malicious environment variable value can exploit this behavior to set a value for a different environment variable. For example, the environment variable string "A=B\x00C=D" sets the variables "A=B" and "C=D".

    Published Updated

Check your server

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

Check your server →