UBUNTU-CVE-2021-41072

Source
https://ubuntu.com/security/CVE-2021-41072
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-41072.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-41072
Related
Published
2021-09-14T00:00:00Z
Modified
2021-09-14T00:00:00Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / squashfs-tools

Package

Name
squashfs-tools
Purl
pkg:deb/ubuntu/squashfs-tools?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:4.3-3ubuntu2.16.04.3+esm1

Affected versions

1:4.*

1:4.2+20130409-2.1
1:4.3-3
1:4.3-3ubuntu1
1:4.3-3ubuntu2
1:4.3-3ubuntu2.16.04.1
1:4.3-3ubuntu2.16.04.2
1:4.3-3ubuntu2.16.04.3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:4.3-3ubuntu2.16.04.3+esm1",
            "binary_name": "squashfs-tools"
        },
        {
            "binary_version": "1:4.3-3ubuntu2.16.04.3+esm1",
            "binary_name": "squashfs-tools-dbg"
        },
        {
            "binary_version": "1:4.3-3ubuntu2.16.04.3+esm1",
            "binary_name": "squashfs-tools-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / squashfs-tools

Package

Name
squashfs-tools
Purl
pkg:deb/ubuntu/squashfs-tools?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:4.3-6ubuntu0.18.04.4

Affected versions

1:4.*

1:4.3-4ubuntu1
1:4.3-4ubuntu2
1:4.3-6
1:4.3-6ubuntu0.18.04.1
1:4.3-6ubuntu0.18.04.2
1:4.3-6ubuntu0.18.04.3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:4.3-6ubuntu0.18.04.4",
            "binary_name": "squashfs-tools"
        },
        {
            "binary_version": "1:4.3-6ubuntu0.18.04.4",
            "binary_name": "squashfs-tools-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / squashfs-tools

Package

Name
squashfs-tools
Purl
pkg:deb/ubuntu/squashfs-tools?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:4.4-1ubuntu0.2

Affected versions

1:4.*

1:4.4-1
1:4.4-1ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:4.4-1ubuntu0.2",
            "binary_name": "squashfs-tools"
        },
        {
            "binary_version": "1:4.4-1ubuntu0.2",
            "binary_name": "squashfs-tools-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / squashfs-tools

Package

Name
squashfs-tools
Purl
pkg:deb/ubuntu/squashfs-tools?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:4.4-2ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:4.4-2ubuntu2",
            "binary_name": "squashfs-tools"
        },
        {
            "binary_version": "1:4.4-2ubuntu2",
            "binary_name": "squashfs-tools-dbgsym"
        }
    ]
}