Advisory

UBUNTU-CVE-2021-41072

Also known as: CVE-2021-41072

Summary

The record has no summary.

Details

squashfs_opendir in unsquash-2.c in Squashfs-Tools 4.5 allows Directory Traversal, a different vulnerability than CVE-2021-40153. A squashfs filesystem that has been crafted to include a symbolic link and then contents under the same filename in a filesystem can cause unsquashfs to first create the symbolic link pointing outside the expected directory, and then the subsequent write operation will cause the unsquashfs process to write through the symbolic link elsewhere in the filesystem.

Severity

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

Dates

Published
2021-09-14 00:00 UTC
Modified
2026-02-04 03:19 UTC

Affected packages and fixes

squashfs-tools

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1:4.3-6ubuntu0.18.04.4 (ecosystem)

Fixed versions

1:4.3-6ubuntu0.18.04.4

Fix

  • Fixed version 1:4.3-6ubuntu0.18.04.4
    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.

squashfs-tools

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1:4.4-1ubuntu0.3 (ecosystem)

Fixed versions

1:4.4-1ubuntu0.3

Fix

  • Fixed version 1:4.4-1ubuntu0.3
    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.

squashfs-tools

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1:4.4-2ubuntu2 (ecosystem)

Fixed versions

1:4.4-2ubuntu2

Fix

  • Fixed version 1:4.4-2ubuntu2
    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