p PatchFirst

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

Уязвимости golang-1.18

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

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

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

  1. CVE-2023-24537

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

    Infinite loop in parsing in go/scanner

    Calling any of the Parse functions on Go source code which contains //line directives with very large line numbers can cause an infinite loop due to integer overflow.

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

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

    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

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

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

    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.

    • Обновитесь до 1.18.1-1ubuntu1~18.04.4
    Опубликовано Обновлено
  4. CVE-2022-41717

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

    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.

    • Обновитесь до 1.18.1-1ubuntu1~18.04.4
    Опубликовано Обновлено
  5. CVE-2022-41715

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

    Memory exhaustion when compiling regular expressions in regexp/syntax

    Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. After fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected.

    • Обновитесь до 1.18.1-1ubuntu1~18.04.4
    Опубликовано Обновлено
  6. CVE-2022-2880

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

    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.

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

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

    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.

    • Обновитесь до 1.18.1-1ubuntu1~18.04.4
    Опубликовано Обновлено
  8. CVE-2022-27664

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

    CVE-2022-27664

    In net/http in Go before 1.18.6 and 1.19.x before 1.19.1, attackers can cause a denial of service because an HTTP/2 connection can hang during closing if shutdown were preempted by a fatal error.

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

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

    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.

    • Обновитесь до 1.18.1-1ubuntu1~18.04.4
    Опубликовано Обновлено
  10. CVE-2022-1962

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

    Stack exhaustion due to deeply nested types in go/parser

    Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.

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

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

    Panic when decoding Float and Rat types in math/big

    A too-short encoded message can cause a panic in Float.GobDecode and Rat GobDecode in math/big in Go before 1.17.13 and 1.18.5, potentially allowing a denial of service.

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

    Низкий · CVSS 3.1EPSS 1,21%Есть исправление

    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.

    • Обновитесь до 1.18.1-1ubuntu1~18.04.4
    Опубликовано Обновлено
  13. CVE-2022-30630

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

    Stack exhaustion in Glob on certain paths in io/fs

    Uncontrolled recursion in Glob in io/fs before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path which contains a large number of path separators.

    • Обновитесь до 1.18.1-1ubuntu1~18.04.4
    Опубликовано Обновлено
  14. CVE-2022-1705

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

    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.

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

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

    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.

    • Обновитесь до 1.18.1-1ubuntu1~18.04.4
    Опубликовано Обновлено
  16. CVE-2022-30633

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

    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.

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

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

    Stack exhaustion when decoding certain messages in encoding/gob

    Uncontrolled recursion in Decoder.Decode in encoding/gob before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a message which contains deeply nested structures.

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

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

    Stack exhaustion on crafted paths in path/filepath

    Uncontrolled recursion in Glob in path/filepath before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path containing a large number of path separators.

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

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

    Stack exhaustion from deeply nested XML documents in encoding/xml

    Uncontrolled recursion in Decoder.Skip 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 a deeply nested XML document.

    • Обновитесь до 1.18.1-1ubuntu1~18.04.4
    Опубликовано Обновлено
  20. CVE-2022-29526

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

    CVE-2022-29526

    Go before 1.17.10 and 1.18.x before 1.18.2 has Incorrect Privilege Assignment. When called with a non-zero flags parameter, the Faccessat function could incorrectly report that a file is accessible.

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

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

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

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