p PatchFirst

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

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

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

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

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

  1. CVE-2026-97045

    Без оценкиEPSS 0,2%Нет опубликованного исправления

    Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net

    In childTextNodesAreLiteral, walking up the tree previously stopped at the nearest foreign ancestor once an HTML integration point was found. However, that integration point may itself be a descendant of an element that was foster-parented into a foreign namespace (such as <mglyph> or <malignmark> fostered under <mtext>), causing a parser to resolve the subtree in a different foreign namespace upon re-parsing the rendered output. Continue walking the full ancestor chain and verify that every transition from a non-empty namespace occurs at an HTML integration point before emitting literal text.

    Опубликовано Обновлено
  2. CVE-2026-78661

    Без оценкиEPSS 0,18%Нет опубликованного исправления

    Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net

    When coalescing adjacent text nodes in addText and fosterParent, appending to an existing TextNode's Data via string concatenation (n.Data += text) reallocated and copied the accumulated string on every token. Inputs containing many short text runs separated by ignored end tags (such as "a</x>") caused O(n^2) allocations and byte copies. Accumulate coalesced text in per-node byte slices during parsing and materialize Data strings once at the end of parse.

    Опубликовано Обновлено
  3. CVE-2026-97032

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

    HTTP/2 server crash due to HPACK encoder race in net/http

    HTTP/2 servers could end up crashing due to inadvertently modifying its HPACK encoder concurrently. This happens because the server modifies the HPACK encoder from two goroutines without synchronization: one uses the encoder to encode a HEADERS frame as part of a response sent to a client and the other modifies the encoder's table size when handling a SETTINGS frame containing SETTINGS_HEADER_TABLE_SIZE that a client sends. A malicious client can repeatedly send a request while changing the header table size to crash the server.

    Опубликовано Обновлено
  4. CVE-2026-94447

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

    Checksum database bypass for golang.org/toolchain in cmd/go

    Previously, a user operating inside of a malicious Go project that defines a bogus golang.org/toolchain go.sum entry and operates a malicious GOMODPROXY the user chooses to use can bypass the intended checksum. We now ensure that golang.org/toolchain always goes to the network for the canonical checksum.

    Опубликовано Обновлено
  5. CVE-2026-94444

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

    Checksum bypass for golang.org/fips140 in cmd/go

    Previously, a user operating inside of a malicious Go project that defines a bogus golang.org/fips140 and operates a malicious GOMODPROXY the user chooses to connect to can serve an arbitrary module in its place. We now unpack the trusted ziphash for the bundled golang.org/fips140 module and construct its entry in the GOMODCACHE such that it can be verified by the toolchain.

    Опубликовано Обновлено
  6. CVE-2026-97030

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

    Recognize yield as regexp preceder keyword in html/template

    A trusted template author may have previously written a valid template wherein the use of the 'yield' keyword would not be correctly escaped. We now ensure that valid keyword uses are escaped and non-keyword uses are not escaped.

    Опубликовано Обновлено
  7. CVE-2026-94448

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

    Reset context tracking on consecutive template expressions in html/template

    When a JavaScript template literal contains consecutive expressions, the context tracking state was not properly reset upon entering a new expression. We now ensure that template-literal expression entries correctly reset context variables so all subsequent regular expression literals are accurately recognized and escaped.

    Опубликовано Обновлено
  8. CVE-2026-56860

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

    Avoid quadratic complexity in resolvePath in net/url

    Previously, resolving relative paths containing parent directory ('..') segments performed string conversions and buffer rewrites on each step, resulting in quadratic time complexity and high memory allocation overhead. Now, path resolution operates on a byte buffer using index-based backtracking for '..' segments, eliminating the quadratic time complexity and significantly reducing memory allocations.

    Опубликовано Обновлено
  9. CVE-2026-56864

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

    Ignore unrelated, unauthenticated hashes in Lookup in golang.org/x/mod/sumdb

    A malicious GOSUMDB was capable of serving arbitrary module content not contained within the transparency log. This attack allows for a coordinating GOPROXY and GOSUMDB to serve a client malicious module content that cannot be detected by evaluating the transparency log. In order to determine if you have been affected: rm -r go.sum go.work.sum vendor/ && go mod tidy

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

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

    Fix Javascript regexp context tracking in html/template

    Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.

    Опубликовано Обновлено
  11. CVE-2026-42505

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

    Invoking Encrypted Client Hello privacy leak in crypto/tls

    Handshakes which used Encrypted Client Hello could be de-anonymized by a passive network observer due to a disclosure of pre-shared key identities in the unencrypted client hello.

  12. CVE-2026-39822

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

    Root escape via symlink plus trailing slash in os

    On Unix systems, opening a file in an os.Root improperly follows symlinks to locations outside of the Root when the final path component of the a path is a symbolic link and the path ends in /. For example, 'root.Open("symlink/")' will open "symlink" even when "symlink" is a symbolic link pointing outside of the root.

  13. CVE-2026-39821

    Критический · CVSS 9.6EPSS 1,83%Нет опубликованного исправления

    Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna

    The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that decode to an ASCII-only label. For example, ToUnicode("xn--example-.com") incorrectly returns the name "example.com" rather than an error. This behavior can lead to privilege escalation in programs using the idna package. For example, a program which performs privilege checks on the ASCII hostname may reject "example.com" but permit "xn--example-.com". If that program subsequently converts the ASCII hostname to Unicode, it will inadvertently permits access to the Unicode name "example.com".

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

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

    Quadratic string concatentation in consumeComment in net/mail

    Well-crafted inputs reaching ParseAddress, ParseAddressList, and ParseDate were able to trigger excessive CPU exhaustion and memory allocations.

  15. CVE-2026-42501

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

    Malicious module proxy can bypass checksum database in cmd/go

    A malicious module proxy can exploit a flaw in the go command's validation of module checksums to bypass checksum database validation. This vulnerability affects any user using an untrusted module proxy (GOMODPROXY) or checksum database (GOSUMDB). A malicious module proxy can serve altered versions of the Go toolchain. When selecting a different version of the Go toolchain than the currently installed toolchain (due to the GOTOOLCHAIN environment variable, or a go.work or go.mod with a toolchain line), the go command will download and execute a toolchain provided by the module proxy. A malicious module proxy can bypass checksum database valid

  16. CVE-2026-39823

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

    Bypass of meta content URL escaping causes XSS in html/template

    CVE-2026-27142 fixed a vulnerability in which URLs were not correctly escaped inside of a <meta> tag's <content> attribute. If the URL content were to insert ASCII whitespaces around the '=' rune inside of the <content> attribute, the escaper would fail to similarly escape it, leading to XSS.

  17. CVE-2026-33811

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

    Crash when handling long CNAME response in net

    When using LookupCNAME with the cgo DNS resolver, a very long CNAME response can trigger a double-free of C memory and a crash.

  18. CVE-2026-39826

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

    Escaper bypass leads to XSS in html/template

    If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' attribute with an ASCII whitespace, the execution of the template would incorrectly escape any data passed into the <script> block.

  19. CVE-2026-39817

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

    Invoking "go tool pack" does not sanitize output paths in cmd/go

    The "go tool pack" subcommand (usually used only by the compiler as an internal tool with known-good inputs) does not sanitize output filenames. Extracting a malicious archive file with the "pack" subcommand can write files to arbitrary locations on the filesystem.

  20. CVE-2026-39819

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

    Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go

    The "go bug" command writes to two files with predictable names in the system temporary directory (for example, "/tmp"). An attacker with access to the temporary directory can create a symlink in one of these names, causing "go bug" to overwrite the target of the symlink.

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

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

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