Advisory

UBUNTU-CVE-2016-10712

Also known as: CVE-2016-10712

Summary

The record has no summary.

Details

In PHP before 5.5.32, 5.6.x before 5.6.18, and 7.x before 7.0.3, all of the return values of stream_get_meta_data can be controlled if the input can be controlled (e.g., during file uploads). For example, a "$uri = stream_get_meta_data(fopen($file, "r"))['uri']" call mishandles the case where $file is data:text/plain;uri=eviluri, -- in other words, metadata can be set by an attacker.

Severity

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

Dates

Published
2018-02-09 00:00 UTC
Modified
2026-04-22 10:30 UTC

Affected packages and fixes

php5

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 5.5.9+dfsg-1ubuntu4.24 (ecosystem)

Fixed versions

5.5.9+dfsg-1ubuntu4.24

Fix

  • Fixed version 5.5.9+dfsg-1ubuntu4.24
    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