Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Vulnerabilities

Advisory Analysis

Ubuntu Patches glog Symlink Flaw That Could Let Local Users Overwrite Files

Ubuntu has published security notice USN-9239-1 for a symbolic link weakness in the glog logging package for Go. According to the notice, a local attacker could potentially overwrite arbitrary files.

Vulnerabilities

Key points

  • Ubuntu notice USN-9239-1 covers a symlink-following flaw in the glog Go logging package.
  • The issue involves log file creation in world-writable directories, which the notice says is the default.
  • A local attacker could potentially overwrite arbitrary files with the permissions of a program using glog.
  • The report gives no CVE identifier, severity rating or evidence of exploitation.

Ubuntu has issued security notice USN-9239-1 covering a flaw in glog, a Go package that provides leveled execution logging. According to the notice, glog follows symbolic links when it creates log files inside a world-writable directory. The notice says that such a directory is the default setting.

A local attacker could potentially use this behavior to overwrite arbitrary files, running with the permissions of any program that uses glog. The notice says a standard system update applies the necessary changes. Fixed packages are listed as golang-glog-dev 0.0~git20160126.23def4e-5ubuntu0.1~esm1, 0.0~git20160126.23def4e-3ubuntu0.1~esm1 and 0.0~git20160126.23def4e-1ubuntu0.1~esm1, with 0+git20150801.fca8c88-1ubuntu0.1~esm1 for the older branch.

The report does not list a CVE identifier, a severity rating, or any indication of whether the flaw has been exploited. The notice also promotes Ubuntu Pro, which it describes as offering ten years of security coverage for more than 25,000 packages in the Main and Universe repositories, free for up to five machines. For full details, see the original Ubuntu USN-9239-1 notice.

What to do

  1. Apply the standard Ubuntu system update, which the notice says includes the necessary changes.
  2. Check installed golang-glog-dev versions against the fixed versions listed in USN-9239-1.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

Ubuntu USNubuntu.com

“USN-9239-1: glog vulnerability”

It was discovered that glog followed symbolic links when creating log files in a world-writable directory, which is the default. A local attacker could possibly use this issue to overwrite arbitrary files with the privileges of a program using glog.