nixpkgs
nixpkgs copied to clipboard
Glib: buffer under-read on glib through glib/gfileutils.c via get_tmp_file()
- CVE-2025-7039
- Nixpkgs security tracker issue
- affected package maintainers: cc
@evan-goode,@nikstur,@thillux,@brianmcgillion,@Thesola10,@hedning,@jtojnar,@bobby285271,@dasj19,@06kellyjac
Description
A flaw was found in glib. An integer overflow during temporary file creation leads to an out-of-bounds memory access, allowing an attacker to potentially perform path traversal or access private temporary file content by creating symbolic links. This vulnerability allows a local attacker to manipulate file paths and access unauthorized data. The core issue stems from insufficient validation of file path lengths during temporary file operations.
CVSS CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): HIGH
- Privileges required (PR): NONE
- User interaction (UI): NONE
- Scope (S): UNCHANGED
- Confidentiality impact (C): NONE
- Integrity impact (I): LOW
- Availability impact (A): NONE