p PatchFirst

CVE-2023-39323

CVE-2023-39323 · Arbitrary code execution during build via line directives in cmd/go

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

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.

CVSS 8.1 · Alta · EPSS 1,9% · Corrección disponible

Publicación
Actualización

Pila tecnológica: system

Productos y versiones afectados

  • cmd/go

    Versiones
    • ≥ 0, < 1.20.9: Afectada (semver)
    • ≥ 1.21.0-0, < 1.21.2: Afectada (semver)

    Actualiza a 1.20.9; Actualiza a 1.21.2

  • golang-1.19 Debian:12

    Versiones
    • 1.19.10-1
    • 1.19.10-2
    • 1.19.11-1
    • 1.19.12-1
    • 1.19.12-2
    • 1.19.12-2~bpo11+1
    • 1.19.12-2~bpo12+1
    • 1.19.13-1
    • 1.19.13-1~bpo11+1
    • 1.19.13-1~bpo12+1
    • 1.19.8-2
    • 1.19.9-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • golang-1.18 Ubuntu:Pro:16.04:LTS

    Versiones
    • 1.18.1-1ubuntu1~16.04.6
    Intervalos de versiones afectados
    • ECOSYSTEM: < 1.18.1-1ubuntu1~16.04.6+esm1

    Actualiza a 1.18.1-1ubuntu1~16.04.6+esm1

  • golang-1.18 Ubuntu:Pro:18.04:LTS

    Versiones
    • 1.18.1-1ubuntu1~18.04.3
    • 1.18.1-1ubuntu1~18.04.4
    Intervalos de versiones afectados
    • ECOSYSTEM: < 1.18.1-1ubuntu1~18.04.4+esm1

    Actualiza a 1.18.1-1ubuntu1~18.04.4+esm1

  • golang-1.18 Ubuntu:20.04:LTS

    Versiones
    • 1.18.1-1ubuntu1~20.04.1
    • 1.18.1-1ubuntu1~20.04.2
    Intervalos de versiones afectados
    • ECOSYSTEM: < 1.18.1-1ubuntu1~20.04.3

    Actualiza a 1.18.1-1ubuntu1~20.04.3

  • golang-1.20 Ubuntu:20.04:LTS

    Versiones
    • 1.20.3-1ubuntu0.1~20.04
    Intervalos de versiones afectados
    • ECOSYSTEM: < 1.20.3-1ubuntu0.1~20.04.1

    Actualiza a 1.20.3-1ubuntu0.1~20.04.1

  • golang-1.21 Ubuntu:20.04:LTS

    Versiones
    • 1.21.1-1~ubuntu20.04.1
    Intervalos de versiones afectados
    • ECOSYSTEM: < 1.21.1-1~ubuntu20.04.2

    Actualiza a 1.21.1-1~ubuntu20.04.2

  • golang-1.17 Ubuntu:22.04:LTS

    Versiones
    • 1.17-1ubuntu2
    • 1.17.3-1ubuntu1
    • 1.17.3-1ubuntu2
    • 1.17.13-3ubuntu1
    • 1.17.13-3ubuntu1.2
    Intervalos de versiones afectados
    • ECOSYSTEM: < 1.17.13-3ubuntu1.3

    Actualiza a 1.17.13-3ubuntu1.3

  • golang-1.18 Ubuntu:22.04:LTS

    Versiones
    • 1.18~beta1-0ubuntu1
    • 1.18~beta2-1ubuntu1
    • 1.18~beta2-1ubuntu2
    • 1.18~rc1-1ubuntu1
    • 1.18-1ubuntu1
    • 1.18.1-1ubuntu1
    • 1.18.1-1ubuntu1.1
    Intervalos de versiones afectados
    • ECOSYSTEM: < 1.18.1-1ubuntu1.2

    Actualiza a 1.18.1-1ubuntu1.2

  • golang-1.20 Ubuntu:22.04:LTS

    Versiones
    • 1.20.3-1ubuntu0.1~22.04
    Intervalos de versiones afectados
    • ECOSYSTEM: < 1.20.3-1ubuntu0.1~22.04.1

    Actualiza a 1.20.3-1ubuntu0.1~22.04.1

  • golang-1.21 Ubuntu:22.04:LTS

    Versiones
    • 1.21.1-1~ubuntu22.04.1
    Intervalos de versiones afectados
    • ECOSYSTEM: < 1.21.1-1~ubuntu22.04.2

    Actualiza a 1.21.1-1~ubuntu22.04.2

Fuentes originales

Comprueba tu servidor →