p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in golang-1.22

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für golang-1.22: 7. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 72

  1. CVE-2026-97045

    Nicht bewertetEPSS 0,2%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  2. CVE-2026-78661

    Nicht bewertetEPSS 0,18%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  3. CVE-2026-97032

    Hoch · CVSS 7.5EPSS 0,49%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  4. CVE-2026-94447

    Hoch · CVSS 7.8EPSS 0,1%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  5. CVE-2026-94444

    Hoch · CVSS 7.8EPSS 0,1%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  6. CVE-2026-97030

    Mittel · CVSS 6.1EPSS 0,29%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  7. CVE-2026-94448

    Mittel · CVSS 6.1EPSS 0,29%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  8. CVE-2026-56860

    Mittel · CVSS 5.9EPSS 0,55%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  9. CVE-2026-56864

    Hoch · CVSS 7.5EPSS 0,3%Keine Korrektur veröffentlicht

    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

    Veröffentlicht Aktualisiert
  10. CVE-2026-39822

    Hoch · CVSS 7.8EPSS 0,23%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  11. CVE-2026-39821

    Kritisch · CVSS 9.6EPSS 1,83%Keine Korrektur veröffentlicht

    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".

    Veröffentlicht Aktualisiert
  12. CVE-2026-42501

    Hoch · CVSS 7.5EPSS 0,23%Keine Korrektur veröffentlicht

    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

    Veröffentlicht Aktualisiert
  13. CVE-2026-39823

    Mittel · CVSS 6.1EPSS 0,31%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  14. CVE-2026-39817

    Mittel · CVSS 5.9EPSS 0,17%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  15. CVE-2026-39819

    Mittel · CVSS 5.3EPSS 0,18%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →