Advisory

UBUNTU-CVE-2017-16997

Also known as: CVE-2017-16997

Summary

The record has no summary.

Details

elf/dl-load.c in the GNU C Library (aka glibc or libc6) 2.19 through 2.26 mishandles RPATH and RUNPATH containing $ORIGIN for a privileged (setuid or AT_SECURE) program, which allows local users to gain privileges via a Trojan horse library in the current working directory, related to the fillin_rpath and decompose_rpath functions. This is associated with misinterpretion of an empty RPATH/RUNPATH token as the "./" directory. NOTE: this configuration of RPATH/RUNPATH for a privileged program is apparently very uncommon; most likely, no such program is shipped with any common Linux distribution.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2017-12-17 00:00 UTC
Modified
2026-04-22 11:19 UTC

Affected packages and fixes

eglibc

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 2.19-0ubuntu6.14 (ecosystem)

Fixed versions

2.19-0ubuntu6.14

Fix

  • Fixed version 2.19-0ubuntu6.14
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

glibc

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 2.23-0ubuntu10 (ecosystem)

Fixed versions

2.23-0ubuntu10

Fix

  • Fixed version 2.23-0ubuntu10
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences