USN-5057-1

Source
https://ubuntu.com/security/notices/USN-5057-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5057-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5057-1
Upstream
Related
Published
2021-08-31T00:34:13.288005Z
Modified
2025-10-13T04:35:35Z
Summary
squashfs-tools vulnerability
Details

Etienne Stalmans discovered that Squashfs-Tools mishandled certain malformed SQUASHFS files. An attacker could use this vulnerability to write arbitrary files to the filesystem.

References

Affected packages

Ubuntu:18.04:LTS / squashfs-tools

Package

Name
squashfs-tools
Purl
pkg:deb/ubuntu/squashfs-tools@1:4.3-6ubuntu0.18.04.3?arch=source&distro=bionic

Affected ranges

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

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

Ecosystem specific

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

Database specific

cves_map

{
    "cves": [
        {
            "id": "CVE-2021-40153",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:18.04:LTS"
}

Ubuntu:20.04:LTS / squashfs-tools

Package

Name
squashfs-tools
Purl
pkg:deb/ubuntu/squashfs-tools@1:4.4-1ubuntu0.1?arch=source&distro=focal

Affected ranges

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

Affected versions

1:4.*

1:4.4-1

Ecosystem specific

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

Database specific

cves_map

{
    "cves": [
        {
            "id": "CVE-2021-40153",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:20.04:LTS"
}