FKIE_CVE-2025-62511

Vulnerability from fkie_nvd - Published: 2025-10-17 20:15 - Updated: 2026-10-08 22:10
Summary
yt-grabber-tui is a C++ terminal user interface application for downloading YouTube content. yt-grabber-tui version 1.0 contains a Time-of-Check to Time-of-Use (TOCTOU) race condition (CWE-367) in the creation of the default configuration file config.json. In version 1.0, load_json_settings in Settings.hpp checks for the existence of config.json using boost::filesystem::exists and, if the file is missing, calls create_json_settings which writes the JSON configuration with boost::property_tree::write_json. A local attacker with write access to the application’s configuration directory (~/.config/yt-grabber-tui on Linux or the current working directory on Windows) can create a symbolic link between the existence check and the subsequent write so that the write operation follows the symlink and overwrites an attacker-chosen file accessible to the running process. This enables arbitrary file overwrite within the privileges of the application process, which can corrupt files and cause loss of application or user data. If the application is executed with elevated privileges, this could extend to system file corruption. The issue is fixed in version 1.0.1.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "product": "YtGrabber-TUI",
          "vendor": "zheny-creator",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 1.0.1"
            }
          ]
        }
      ],
      "source": "security-advisories@github.com"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "yt-grabber-tui is a C++ terminal user interface application for downloading YouTube content. yt-grabber-tui version 1.0 contains a Time-of-Check to Time-of-Use (TOCTOU) race condition (CWE-367) in the creation of the default configuration file config.json. In version 1.0, load_json_settings in Settings.hpp checks for the existence of config.json using boost::filesystem::exists and, if the file is missing, calls create_json_settings which writes the JSON configuration with boost::property_tree::write_json. A local attacker with write access to the application\u2019s configuration directory (~/.config/yt-grabber-tui on Linux or the current working directory on Windows) can create a symbolic link between the existence check and the subsequent write so that the write operation follows the symlink and overwrites an attacker-chosen file accessible to the running process. This enables arbitrary file overwrite within the privileges of the application process, which can corrupt files and cause loss of application or user data. If the application is executed with elevated privileges, this could extend to system file corruption. The issue is fixed in version 1.0.1."
    },
    {
      "lang": "es",
      "value": "yt-grabber-tui es una aplicaci\u00f3n de interfaz de usuario de terminal en C++ para descargar contenido de YouTube. yt-grabber-tui versi\u00f3n 1.0 contiene una condici\u00f3n de carrera de Tiempo de Verificaci\u00f3n a Tiempo de Uso (TOCTOU) (CWE-367) en la creaci\u00f3n del archivo de configuraci\u00f3n predeterminado config.json. En la versi\u00f3n 1.0, load_json_settings en Settings.hpp verifica la existencia de config.json usando boost::filesystem::exists y, si el archivo falta, llama a create_json_settings que escribe la configuraci\u00f3n JSON con boost::property_tree::write_json. Un atacante local con acceso de escritura al directorio de configuraci\u00f3n de la aplicaci\u00f3n (~/.config/yt-grabber-tui en Linux o el directorio de trabajo actual en Windows) puede crear un enlace simb\u00f3lico entre la verificaci\u00f3n de existencia y la escritura subsiguiente para que la operaci\u00f3n de escritura siga el enlace simb\u00f3lico y sobrescriba un archivo elegido por el atacante accesible para el proceso en ejecuci\u00f3n. Esto permite la sobrescritura arbitraria de archivos dentro de los privilegios del proceso de la aplicaci\u00f3n, lo que puede corromper archivos y causar la p\u00e9rdida de datos de la aplicaci\u00f3n o del usuario. Si la aplicaci\u00f3n se ejecuta con privilegios elevados, esto podr\u00eda extenderse a la corrupci\u00f3n de archivos del sistema. El problema est\u00e1 solucionado en la versi\u00f3n 1.0.1."
    }
  ],
  "id": "CVE-2025-62511",
  "lastModified": "2026-10-08T22:10:00.563",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "HIGH",
          "attackVector": "LOCAL",
          "availabilityImpact": "HIGH",
          "baseScore": 6.3,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "NONE",
          "integrityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 1.0,
        "impactScore": 5.2,
        "source": "security-advisories@github.com",
        "type": "Secondary"
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2025-62511",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "timestamp": "2025-10-17T20:22:13.089142Z",
          "version": "2.0.3"
        }
      }
    ]
  },
  "published": "2025-10-17T20:15:42.060",
  "references": [
    {
      "source": "security-advisories@github.com",
      "url": "https://github.com/zheny-creator/YtGrabber-TUI/commit/bf065e833820bb4253a70a4c1dc6b843c6d8bf21"
    },
    {
      "source": "security-advisories@github.com",
      "url": "https://github.com/zheny-creator/YtGrabber-TUI/security/advisories/GHSA-hwwf-fq6p-rw9q"
    }
  ],
  "sourceIdentifier": "security-advisories@github.com",
  "vulnStatus": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-367"
        }
      ],
      "source": "security-advisories@github.com",
      "type": "Secondary"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…