CVE-2016-4456
published 2017-08-08CVE-2016-4456: The "GNUTLS_KEYLOGFILE" environment variable in gnutls 3.4.12 allows remote attackers to overwrite and corrupt arbitrary files in the filesystem.
PriorityP344high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
2.20%
80.7th percentile
The "GNUTLS_KEYLOGFILE" environment variable in gnutls 3.4.12 allows remote attackers to overwrite and corrupt arbitrary files in the filesystem.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | gnutls28 | < gnutls28 3.4.13-1 (bookworm) | gnutls28 3.4.13-1 (bookworm) |
| gnu | gnutls | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-f425-wv72-9hrq: The "GNUTLS_KEYLOGFILE" environment variable in gnutls 3
ghsa_unreviewed·2022-05-13
CVE-2016-4456 [HIGH] CWE-20 GHSA-f425-wv72-9hrq: The "GNUTLS_KEYLOGFILE" environment variable in gnutls 3
The "GNUTLS_KEYLOGFILE" environment variable in gnutls 3.4.12 allows remote attackers to overwrite and corrupt arbitrary files in the filesystem.
OSV
CVE-2016-4456: The "GNUTLS_KEYLOGFILE" environment variable in gnutls 3
osv·2017-08-08·CVSS 7.5
CVE-2016-4456 [HIGH] CVE-2016-4456: The "GNUTLS_KEYLOGFILE" environment variable in gnutls 3
The "GNUTLS_KEYLOGFILE" environment variable in gnutls 3.4.12 allows remote attackers to overwrite and corrupt arbitrary files in the filesystem.
Red Hat
gnutls: Environment variable GNUTLS_KEYLOGFILE is obtained via insecure getenv()
vendor_redhat·2016-06-06·CVSS 7.5
CVE-2016-4456 [HIGH] gnutls: Environment variable GNUTLS_KEYLOGFILE is obtained via insecure getenv()
gnutls: Environment variable GNUTLS_KEYLOGFILE is obtained via insecure getenv()
The "GNUTLS_KEYLOGFILE" environment variable in gnutls 3.4.12 allows remote attackers to overwrite and corrupt arbitrary files in the filesystem.
Package: gnutls (Red Hat Enterprise Linux 5) - Not affected
Package: gnutls (Red Hat Enterprise Linux 6) - Not affected
Package: gnutls (Red Hat Enterprise Linux 7) - Not affected
Package: mingw-virt-viewer (Red Hat Enterprise Virtualization 3) - Not affected
Debian
CVE-2016-4456: gnutls28 - The "GNUTLS_KEYLOGFILE" environment variable in gnutls 3.4.12 allows remote atta...
vendor_debian·2016·CVSS 7.5
CVE-2016-4456 [HIGH] CVE-2016-4456: gnutls28 - The "GNUTLS_KEYLOGFILE" environment variable in gnutls 3.4.12 allows remote atta...
The "GNUTLS_KEYLOGFILE" environment variable in gnutls 3.4.12 allows remote attackers to overwrite and corrupt arbitrary files in the filesystem.
Scope: local
bookworm: resolved (fixed in 3.4.13-1)
bullseye: resolved (fixed in 3.4.13-1)
forky: resolved (fixed in 3.4.13-1)
sid: resolved (fixed in 3.4.13-1)
trixie: resolved (fixed in 3.4.13-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-4456 gnutls: various flaws [fedora-23]
bugzilla·2016-06-07·CVSS 7.5
CVE-2016-4456 [HIGH] CVE-2016-4456 gnutls: various flaws [fedora-23]
CVE-2016-4456 gnutls: various flaws [fedora-23]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
[bug automatically created by: add-tracking-bugs]
Discussion:
Use the following temp
Bugzilla
CVE-2016-4456 gnutls: Environment variable GNUTLS_KEYLOGFILE is obtained via insecure getenv()
bugzilla·2016-06-07·CVSS 7.5
CVE-2016-4456 [HIGH] CVE-2016-4456 gnutls: Environment variable GNUTLS_KEYLOGFILE is obtained via insecure getenv()
CVE-2016-4456 gnutls: Environment variable GNUTLS_KEYLOGFILE is obtained via insecure getenv()
It was reported that gnutls 3.4.12 uses an environment variable (GNUTLS_KEYLOGFILE) to write the keys of the running sessions. This variable is obtained insecurely via getenv(), meaning that any set-uid program using gnutls can be used to overwrite any file on the filesystem.
Upstream patch:
https://gitlab.com/gnutls/gnutls/compare/fb2a6baef79f4aadfd95e657fe5a18da20a1410e...86076c9b17b9a32b348cafb8b724f57f7da64d58
External References:
http://gnutls.org/security.html#GNUTLS-SA-2016-1
Discussion:
Acknowledgments:
Name: Nikos Mavrogiannopoulos (Red Hat)
---
Created gnutls tracking bugs for this issue:
Affects: fedora-23 [bug 1343508]
---
*** Bug 1343342 has been marked as a duplicate of
2017-08-08
Published