{
  "document": {
    "aggregate_severity": {
      "text": "Important"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/almalinux9.2esu/vex/2021/cve-2021-40153-els_os-almalinux9_2esu.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-02-16T09:26:10Z",
      "generator": {
        "date": "2026-02-16T09:26:10Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2021-40153-ELS_OS-ALMALINUX9.2ESU",
      "initial_release_date": "2021-08-27T15:15:00Z",
      "revision_history": [
        {
          "date": "2021-08-27T15:15:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2025-06-24T16:35:41Z",
          "number": "2",
          "summary": "Official Publication"
        },
        {
          "date": "2025-12-23T19:08:30Z",
          "number": "3",
          "summary": "Update document"
        },
        {
          "date": "2026-02-16T09:26:10Z",
          "number": "4",
          "summary": "Update document"
        }
      ],
      "status": "final",
      "version": "4"
    },
    "title": "Security update on CVE-2021-40153"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "AlmaLinux 9.2",
                "product": {
                  "name": "AlmaLinux 9.2",
                  "product_id": "AlmaLinux-9.2",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:almalinux:almalinux:9.2:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "AlmaLinux"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "squashfs-tools-0:4.4-8.git1.el9.x86_64",
                "product": {
                  "name": "squashfs-tools-0:4.4-8.git1.el9.x86_64",
                  "product_id": "squashfs-tools-0:4.4-8.git1.el9.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/almalinux/squashfs-tools@4.4-8.git1.el9?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          }
        ],
        "category": "vendor",
        "name": "AlmaLinux OS Foundation"
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "squashfs-tools-0:4.4-8.git1.el9.tuxcare.els1.x86_64",
                "product": {
                  "name": "squashfs-tools-0:4.4-8.git1.el9.tuxcare.els1.x86_64",
                  "product_id": "squashfs-tools-0:4.4-8.git1.el9.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/squashfs-tools@4.4-8.git1.el9.tuxcare.els1?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "squashfs-tools-0:4.4-8.git1.el9.tuxcare.els1.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:squashfs-tools-0:4.4-8.git1.el9.tuxcare.els1.x86_64"
        },
        "product_reference": "squashfs-tools-0:4.4-8.git1.el9.tuxcare.els1.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "squashfs-tools-0:4.4-8.git1.el9.x86_64 as a component of AlmaLinux 9.2",
          "product_id": "AlmaLinux-9.2:squashfs-tools-0:4.4-8.git1.el9.x86_64"
        },
        "product_reference": "squashfs-tools-0:4.4-8.git1.el9.x86_64",
        "relates_to_product_reference": "AlmaLinux-9.2"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-40153",
      "cwe": {
        "id": "CWE-22",
        "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"
      },
      "notes": [
        {
          "category": "description",
          "text": "squashfs_opendir in unsquash-1.c in Squashfs-Tools 4.5 stores the filename in the directory entry; this is then used by unsquashfs to create the new file during the unsquash. The filename is not validated for traversal outside of the destination directory, and thus allows writing to locations outside of the destination.",
          "title": "Vulnerability description"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "AlmaLinux-9.2:squashfs-tools-0:4.4-8.git1.el9.tuxcare.els1.x86_64"
        ],
        "known_affected": [
          "AlmaLinux-9.2:squashfs-tools-0:4.4-8.git1.el9.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2021-40153"
        },
        {
          "category": "external",
          "summary": "https://bugs.launchpad.net/ubuntu/+source/squashfs-tools/+bug/1941790",
          "url": "https://bugs.launchpad.net/ubuntu/+source/squashfs-tools/+bug/1941790"
        },
        {
          "category": "external",
          "summary": "https://github.com/plougher/squashfs-tools/commit/79b5a555058eef4e1e7ff220c344d39f8cd09646",
          "url": "https://github.com/plougher/squashfs-tools/commit/79b5a555058eef4e1e7ff220c344d39f8cd09646"
        },
        {
          "category": "external",
          "summary": "https://github.com/plougher/squashfs-tools/issues/72",
          "url": "https://github.com/plougher/squashfs-tools/issues/72"
        },
        {
          "category": "external",
          "summary": "https://lists.debian.org/debian-lts-announce/2021/08/msg00030.html",
          "url": "https://lists.debian.org/debian-lts-announce/2021/08/msg00030.html"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GSMRKVJMJFX3MB7D3PXJSYY3TLZROE5S/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GSMRKVJMJFX3MB7D3PXJSYY3TLZROE5S/"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RAOZ4BKWAC4Y3U2K5MMW3S77HWWXHQDL/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RAOZ4BKWAC4Y3U2K5MMW3S77HWWXHQDL/"
        },
        {
          "category": "external",
          "summary": "https://security.gentoo.org/glsa/202305-29",
          "url": "https://security.gentoo.org/glsa/202305-29"
        },
        {
          "category": "external",
          "summary": "https://www.debian.org/security/2021/dsa-4967",
          "url": "https://www.debian.org/security/2021/dsa-4967"
        }
      ],
      "release_date": "2021-08-27T15:15:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2025-06-24T16:35:10Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els/releases/CLSA-2025:1750782908",
          "product_ids": [
            "AlmaLinux-9.2:squashfs-tools-0:4.4-8.git1.el9.tuxcare.els1.x86_64"
          ],
          "url": "https://cve.tuxcare.com/els/releases/CLSA-2025:1750782908"
        },
        {
          "category": "none_available",
          "details": "Affected",
          "product_ids": [
            "AlmaLinux-9.2:squashfs-tools-0:4.4-8.git1.el9.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 5.8,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:P",
            "version": "2.0"
          },
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "AlmaLinux-9.2:squashfs-tools-0:4.4-8.git1.el9.tuxcare.els1.x86_64",
            "AlmaLinux-9.2:squashfs-tools-0:4.4-8.git1.el9.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ]
    }
  ]
}