Advisory

UBUNTU-CVE-2018-20482

Also known as: CVE-2018-20482

Summary

The record has no summary.

Details

GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which allows local users to cause a denial of service (infinite read loop in sparse_dump_region in sparse.c) by modifying a file that is supposed to be archived by a different user's process (e.g., a system backup running as root).

Severity

Medium Basis: CVSS v3 score 4.7, vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2018-12-26 18:29 UTC
Modified
2026-02-04 02:49 UTC

Affected packages and fixes

tar

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 1.28-2.1ubuntu0.2 (ecosystem)

Fixed versions

1.28-2.1ubuntu0.2

Fix

  • Fixed version 1.28-2.1ubuntu0.2
    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.

tar

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1.29b-2ubuntu0.2 (ecosystem)

Fixed versions

1.29b-2ubuntu0.2

Fix

  • Fixed version 1.29b-2ubuntu0.2
    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