p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in golang-1.20 · Seite 6

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

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 109

  1. CVE-2023-39319

    Mittel · CVSS 6.1EPSS 0,91%Korrektur verfügbar

    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.

    • Auf 1.20.3-1ubuntu0.1~20.04.1 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2023-39318

    Mittel · CVSS 6.1EPSS 0,93%Korrektur verfügbar

    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.

    • Auf 1.20.3-1ubuntu0.1~20.04.1 aktualisieren
    Veröffentlicht Aktualisiert
  3. CVE-2023-29409

    Mittel · CVSS 5.3EPSS 1,6%Keine Korrektur veröffentlicht

    Large RSA keys can cause high CPU usage in crypto/tls

    Extremely large RSA keys in certificate chains can cause a client/server to expend significant CPU time verifying signatures. With fix, the size of RSA keys transmitted during handshakes is restricted to <= 8192 bits. Based on a survey of publicly trusted RSA keys, there are currently only three certificates in circulation with keys larger than this, and all three appear to be test certificates that are not actively deployed. It is possible there are larger keys in use in private PKIs, but we target the web PKI, so causing breakage here in the interests of increasing the default safety of users of crypto/tls seems reasonable.

    Veröffentlicht Aktualisiert
  4. CVE-2023-29406

    Mittel · CVSS 6.5EPSS 1,45%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  5. CVE-2023-29405

    Kritisch · CVSS 9.8EPSS 1,71%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  6. CVE-2023-29404

    Kritisch · CVSS 9.8EPSS 1,82%Keine Korrektur veröffentlicht

    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.

    Veröffentlicht Aktualisiert
  7. CVE-2023-29403

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

    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.

    Veröffentlicht Aktualisiert
  8. CVE-2023-29402

    Kritisch · CVSS 9.8EPSS 1,69%Keine Korrektur veröffentlicht

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

    Veröffentlicht Aktualisiert
  9. CVE-2022-41716

    Mittel · CVSS 6.3EPSS 1,03%Keine Korrektur veröffentlicht

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

    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 →