« Volver al listado

CVE-2024-45339

Estado: AplazadaAlta (7.1)—

When logs are written to a widely-writable directory (the default), an unprivileged attacker may predict a privileged process's log file path and pre-create a symbolic link to a sensitive file in its place. When that privileged process runs, it will follow the planted symlink and overwrite that sensitive file. To fix that, glog now causes the program to exit (with status code 2) when it finds that the configured log file already exists.

CVSS

Probabilidad de explotación (EPSS)

EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).

🎯 Técnicas ATT&CK

Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.

Acceso local sin interacción (AV:L/PR:L/UI:N). Atacante no privilegiado crea enlace simbólico en directorio para que proceso privilegiado sobrescriba archivo sensible, logrando manipulación de datos e integridad de archivos.

Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.

🛡️ Mitigaciones ATT&CK que cubren estas técnicas

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2024-45339",
  "cveTags": [],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2024-45339",
          "role": "CISA Coordinator",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "version": "2.0.3",
          "timestamp": "2026-04-29T00:00:00+00:00"
        }
      }
    ],
    "cvssMetricV31": [
      {
        "type": "Secondary",
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "cvssData": {
          "scope": "UNCHANGED",
          "version": "3.1",
          "baseScore": 7.1,
          "attackVector": "LOCAL",
          "baseSeverity": "HIGH",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
          "integrityImpact": "HIGH",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "NONE",
          "privilegesRequired": "LOW",
          "confidentialityImpact": "HIGH"
        },
        "impactScore": 5.2,
        "exploitabilityScore": 1.8
      }
    ]
  },
  "affected": [
    {
      "source": "security@golang.org",
      "affectedData": [
        {
          "vendor": "github.com/golang/glog",
          "product": "github.com/golang/glog",
          "versions": [
            {
              "status": "affected",
              "version": "0",
              "lessThan": "1.2.4",
              "versionType": "semver"
            }
          ],
          "packageName": "github.com/golang/glog",
          "collectionURL": "https://pkg.go.dev",
          "defaultStatus": "unaffected",
          "programRoutines": [
            {
              "name": "create"
            },
            {
              "name": "Error"
            },
            {
              "name": "ErrorContext"
            },
            {
              "name": "ErrorContextDepth"
            },
            {
              "name": "ErrorContextDepthf"
            },
            {
              "name": "ErrorContextf"
            },
            {
              "name": "ErrorDepth"
            },
            {
              "name": "ErrorDepthf"
            },
            {
              "name": "Errorf"
            },
            {
              "name": "Errorln"
            },
            {
              "name": "Exit"
            },
            {
              "name": "ExitContext"
            },
            {
              "name": "ExitContextDepth"
            },
            {
              "name": "ExitContextDepthf"
            },
            {
              "name": "ExitContextf"
            },
            {
              "name": "ExitDepth"
            },
            {
              "name": "ExitDepthf"
            },
            {
              "name": "Exitf"
            },
            {
              "name": "Exitln"
            },
            {
              "name": "Fatal"
            },
            {
              "name": "FatalContext"
            },
            {
              "name": "FatalContextDepth"
            },
            {
              "name": "FatalContextDepthf"
            },
            {
              "name": "FatalContextf"
            },
            {
              "name": "FatalDepth"
            },
            {
              "name": "FatalDepthf"
            },
            {
              "name": "Fatalf"
            },
            {
              "name": "Fatalln"
            },
            {
              "name": "Info"
            },
            {
              "name": "InfoContext"
            },
            {
              "name": "InfoContextDepth"
            },
            {
              "name": "InfoContextDepthf"
            },
            {
              "name": "InfoContextf"
            },
            {
              "name": "InfoDepth"
            },
            {
              "name": "InfoDepthf"
            },
            {
              "name": "Infof"
            },
            {
              "name": "Infoln"
            },
            {
              "name": "Verbose.Info"
            },
            {
              "name": "Verbose.InfoContext"
            },
            {
              "name": "Verbose.InfoContextDepth"
            },
            {
              "name": "Verbose.InfoContextDepthf"
            },
            {
              "name": "Verbose.InfoContextf"
            },
            {
              "name": "Verbose.InfoDepth"
            },
            {
              "name": "Verbose.InfoDepthf"
            },
            {
              "name": "Verbose.Infof"
            },
            {
              "name": "Verbose.Infoln"
            },
            {
              "name": "Warning"
            },
            {
              "name": "WarningContext"
            },
            {
              "name": "WarningContextDepth"
            },
            {
              "name": "WarningContextDepthf"
            },
            {
              "name": "WarningContextf"
            },
            {
              "name": "WarningDepth"
            },
            {
              "name": "WarningDepthf"
            },
            {
              "name": "Warningf"
            },
            {
              "name": "Warningln"
            },
            {
              "name": "fileSink.Emit"
            },
            {
              "name": "logBridge.Write"
            },
            {
              "name": "syncBuffer.Write"
            }
          ]
        }
      ]
    }
  ],
  "published": "2025-01-28T02:15:28.927",
  "references": [
    {
      "url": "https://github.com/golang/glog/pull/74",
      "source": "security@golang.org"
    },
    {
      "url": "https://github.com/golang/glog/pull/74/commits/b8741656e406e66d6992bc2c9575e460ecaa0ec2",
      "source": "security@golang.org"
    },
    {
      "url": "https://groups.google.com/g/golang-announce/c/H-Q4ouHWyKs",
      "source": "security@golang.org"
    },
    {
      "url": "https://owasp.org/www-community/vulnerabilities/Insecure_Temporary_File",
      "source": "security@golang.org"
    },
    {
      "url": "https://pkg.go.dev/vuln/GO-2025-3372",
      "source": "security@golang.org"
    },
    {
      "url": "https://lists.debian.org/debian-lts-announce/2025/02/msg00019.html",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    }
  ],
  "vulnStatus": "Deferred",
  "descriptions": [
    {
      "lang": "en",
      "value": "When logs are written to a widely-writable directory (the default), an unprivileged attacker may predict a privileged process's log file path and pre-create a symbolic link to a sensitive file in its place. When that privileged process runs, it will follow the planted symlink and overwrite that sensitive file. To fix that, glog now causes the program to exit (with status code 2) when it finds that the configured log file already exists."
    },
    {
      "lang": "es",
      "value": "Cuando los registros se escriben en un directorio de amplia escritura (el predeterminado), un atacante sin privilegios puede predecir la ruta del archivo de registro de un proceso privilegiado y crear previamente un enlace simbólico a un archivo confidencial en su lugar. Cuando se ejecuta ese proceso privilegiado, seguirá el enlace simbólico plantado y sobrescribirá ese archivo confidencial. Para solucionarlo, glog ahora hace que el programa salga (con el código de estado 2) cuando descubre que el archivo de registro configurado ya existe."
    }
  ],
  "lastModified": "2026-06-17T07:54:03.643",
  "sourceIdentifier": "security@golang.org"
}