p PatchFirst

PatchFirst · Свежие уязвимости

Уязвимости golang-1.18 · Страница 5

За последние 30 дней в golang-1.18 опубликовано уязвимостей: 17; в каталоге KEV: 0.

Фильтры уязвимостей
Сбросить фильтры

Уязвимостей: 130

  1. CVE-2024-24791

    Высокий · CVSS 7.5EPSS 1,41%Есть исправление

    Denial of service due to improper 100-continue handling in net/http

    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 (200 or higher) status. This mishandling could leave a client connection in an invalid state, where the next request sent on the connection will fail. An attacker sending a request to a net/http/httputil.ReverseProxy proxy can exploit this mishandling to cause a denial of service by sending "Expect: 100-continue" requests which elicit a non-informational response from the backend. Each such request leaves the proxy with an invalid connection, and causes one subsequent request using that connectio

    • Обновитесь до 1.18.1-1ubuntu1~20.04.3
  2. CVE-2023-24531

    Критический · CVSS 9.8EPSS 0,84%Есть исправление

    Output of "go env" does not sanitize values in cmd/go

    Command go env is documented as outputting a shell script containing the Go environment. However, go env doesn't sanitize values, so executing its output as a shell script can cause various bad bahaviors, including executing arbitrary commands or inserting new environment variables. This issue is relatively minor because, in general, if an attacker can set arbitrary environment variables on a system, they have better attack vectors than making "go env" print them out.

    • Обновитесь до 1.18.1-1ubuntu1~20.04.3
  3. CVE-2024-24789

    Средний · CVSS 5.3EPSS 0,44%Есть исправление

    Mishandling of corrupt central directory record in archive/zip

    The archive/zip package's handling of certain types of invalid zip files differs from the behavior of most zip implementations. This misalignment could be exploited to create an zip file with contents that vary depending on the implementation reading the file. The archive/zip package now rejects files containing these errors.

    • Обновитесь до 1.18.1-1ubuntu1~20.04.3
  4. CVE-2024-24790

    Критический · CVSS 9.8EPSS 1,95%Есть исправление

    Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip

    The various Is methods (IsPrivate, IsLoopback, etc) did not work as expected for IPv4-mapped IPv6 addresses, returning false for addresses which would return true in their traditional IPv4 forms.

    • Обновитесь до 1.18.1-1ubuntu1~20.04.3
  5. CVE-2024-24788

    Средний · CVSS 5.9EPSS 0,99%Нет опубликованного исправления

    Malformed DNS message can cause infinite loop in net

    A malformed DNS message in response to a query can cause the Lookup functions to get stuck in an infinite loop.

  6. CVE-2023-45288

    Высокий · CVSS 7.5EPSS 91,97%Есть исправление

    HTTP/2 CONTINUATION flood in net/http

    An attacker may cause an HTTP/2 endpoint to read arbitrary amounts of header data by sending an excessive number of CONTINUATION frames. Maintaining HPACK state requires parsing and processing all HEADERS and CONTINUATION frames on a connection. When a request's headers exceed MaxHeaderBytes, no memory is allocated to store the excess headers, but they are still parsed. This permits an attacker to cause an HTTP/2 endpoint to read arbitrary amounts of header data, all associated with a request which is going to be rejected. These headers can include Huffman-encoded data which is significantly more expensive for the receiver to decode than for

    • Обновитесь до 1.18.1-1ubuntu1~20.04.3
    Опубликовано Обновлено
  7. CVE-2024-24785

    Средний · CVSS 5.4EPSS 0,8%Есть исправление

    Errors returned from JSON marshaling may break template escaping in html/template

    If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the contextual auto-escaping behavior of the html/template package, allowing for subsequent actions to inject unexpected content into templates.

    • Обновитесь до 1.18.1-1ubuntu1~20.04.3
  8. CVE-2024-24784

    Высокий · CVSS 7.5EPSS 1,05%Есть исправление

    Comments in display names are incorrectly handled in net/mail

    The ParseAddressList function incorrectly handles comments (text within parentheses) within display names. Since this is a misalignment with conforming address parsers, it can result in different trust decisions being made by programs using different parsers.

    • Обновитесь до 1.18.1-1ubuntu1~20.04.3
    Опубликовано Обновлено
  9. CVE-2023-45289

    Средний · CVSS 4.3EPSS 1,08%Нет опубликованного исправления

    Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http

    When following an HTTP redirect to a domain which is not a subdomain match or exact match of the initial domain, an http.Client does not forward sensitive headers such as "Authorization" or "Cookie". For example, a redirect from foo.com to www.foo.com will forward the Authorization header, but a redirect to bar.com will not. A maliciously crafted HTTP redirect could cause sensitive headers to be unexpectedly forwarded.

    Опубликовано Обновлено
  10. CVE-2023-45290

    Средний · CVSS 6.5EPSS 1,17%Есть исправление

    Memory exhaustion in multipart form parsing in net/textproto and net/http

    When parsing a multipart form (either explicitly with Request.ParseMultipartForm or implicitly with Request.FormValue, Request.PostFormValue, or Request.FormFile), limits on the total size of the parsed form were not applied to the memory consumed while reading a single form line. This permits a maliciously crafted input containing very long lines to cause allocation of arbitrarily large amounts of memory, potentially leading to memory exhaustion. With fix, the ParseMultipartForm function now correctly limits the maximum size of form lines.

    • Обновитесь до 1.18.1-1ubuntu1~20.04.3
    Опубликовано Обновлено
  11. CVE-2024-24783

    Средний · CVSS 5.9EPSS 0,67%Есть исправление

    Verify panics on certificates with an unknown public key algorithm in crypto/x509

    Verifying a certificate chain which contains a certificate with an unknown public key algorithm will cause Certificate.Verify to panic. This affects all crypto/tls clients, and servers that set Config.ClientAuth to VerifyClientCertIfGiven or RequireAndVerifyClientCert. The default behavior is for TLS servers to not verify client certificates.

    • Обновитесь до 1.18.1-1ubuntu1~20.04.3
    Опубликовано Обновлено
  12. CVE-2023-45284

    Средний · CVSS 5.3EPSS 0,9%Нет опубликованного исправления

    Incorrect detection of reserved device names on Windows in path/filepath

    On Windows, The IsLocal function does not correctly detect reserved device names in some cases. Reserved names followed by spaces, such as "COM1 ", and reserved names "COM" and "LPT" followed by superscript 1, 2, or 3, are incorrectly reported as local. With fix, IsLocal now correctly reports these names as non-local.

    Опубликовано Обновлено
  13. CVE-2023-45283

    Высокий · CVSS 7.5EPSS 2,76%Нет опубликованного исправления

    Insecure parsing of Windows paths with a \??\ prefix in path/filepath

    The filepath package does not recognize paths with a \??\ prefix as special. On Windows, a path beginning with \??\ is a Root Local Device path equivalent to a path beginning with \\?\. Paths with a \??\ prefix may be used to access arbitrary locations on the system. For example, the path \??\c:\x is equivalent to the more common path c:\x. Before fix, Clean could convert a rooted path such as \a\..\??\b into the root local device path \??\b. Clean will now convert this to .\??\b. Similarly, Join(\, ??, b) could convert a seemingly innocent sequence of path elements into the root local device path \??\b. Join will now convert this to \.\??\b.

    Опубликовано Обновлено
  14. CVE-2023-39325

    Высокий · CVSS 7.5EPSS 3,8%Есть исправление

    HTTP/2 rapid reset can cause excessive work in net/http

    A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded by the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. With the fix applied, HTTP/2 servers now bound the number of simultaneously executing handler goroutines to the stream concurrency limit (MaxConcurrentStreams). New requests arriving when at the limit (which can only happen after the client has reset an existing, in-flight request) will be queued un

    • Обновитесь до 1.18.1-1ubuntu1~20.04.3
    Опубликовано Обновлено
  15. CVE-2023-39323

    Высокий · CVSS 8.1EPSS 1,93%Есть исправление

    Arbitrary code execution during build via line directives in cmd/go

    Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build". The line directive requires the absolute path of the file in which the directive lives, which makes exploiting this issue significantly more complex.

    • Обновитесь до 1.18.1-1ubuntu1~20.04.3
  16. CVE-2023-39319

    Средний · CVSS 6.1EPSS 0,91%Есть исправление

    Improper handling of special tags within script contexts in html/template

    The html/template package does not apply the proper rules for handling occurrences of "<script", "<!--", and "</script" within JS literals in <script> contexts. This may cause the template parser to improperly consider script contexts to be terminated early, causing actions to be improperly escaped. This could be leveraged to perform an XSS attack.

    • Обновитесь до 1.18.1-1ubuntu1~20.04.3
    Опубликовано Обновлено
  17. CVE-2023-39318

    Средний · CVSS 6.1EPSS 0,93%Есть исправление

    Improper handling of HTML-like comments in script contexts in html/template

    The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in <script> contexts. This may cause the template parser to improperly interpret the contents of <script> contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS attack.

    • Обновитесь до 1.18.1-1ubuntu1~20.04.3
    Опубликовано Обновлено
  18. CVE-2023-29406

    Средний · CVSS 6.5EPSS 1,45%Есть исправление

    Insufficient sanitization of Host header in net/http

    The HTTP/1 client does not fully validate the contents of the Host header. A maliciously crafted Host header can inject additional headers or entire requests. With fix, the HTTP/1 client now refuses to send requests containing an invalid Request.Host or Request.URL.Host value.

    • Обновитесь до 1.18.1-1ubuntu1~20.04.3
    Опубликовано Обновлено
  19. CVE-2023-29405

    Критический · CVSS 9.8EPSS 1,71%Есть исправление

    Improper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/go

    The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.

    • Обновитесь до 1.18.1-1ubuntu1~20.04.3
  20. CVE-2023-29404

    Критический · CVSS 9.8EPSS 1,82%Есть исправление

    Improper handling of non-optional LDFLAGS in go command with cgo in cmd/go

    The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. The arguments for a number of flags which are non-optional are incorrectly considered optional, allowing disallowed flags to be smuggled through the LDFLAGS sanitization. This affects usage of both the gc and gccgo compilers.

    • Обновитесь до 1.18.1-1ubuntu1~20.04.3

Проверьте свой сервер

Сопоставьте установленный стек и версии со свежими базами уязвимостей.

Проверьте свой сервер →