{
  "document": {
    "aggregate_severity": {
      "text": "Important"
    },
    "category": "csaf_security_advisory",
    "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"
      },
      {
        "category": "details",
        "text": "CVE-2021-40153: fix write outside destination directory in unsquashfs",
        "title": "Details"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://cve.tuxcare.com/els/releases/CLSA-2026:1792440720",
        "url": "https://cve.tuxcare.com/els/releases/CLSA-2026:1792440720"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/oraclelinux7els/advisories/2026/clsa-2026_1792440720.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-10-19T20:12:38Z",
      "generator": {
        "date": "2026-10-19T20:12:38Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CLSA-2026:1792440720",
      "initial_release_date": "2026-10-19T20:12:38Z",
      "revision_history": [
        {
          "date": "2026-10-19T20:12:38Z",
          "number": "1",
          "summary": "Initial version"
        }
      ],
      "status": "final",
      "version": "1"
    },
    "title": "squashfs-tools: Fix of CVE-2021-40153"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Oracle Linux 7",
                "product": {
                  "name": "Oracle Linux 7",
                  "product_id": "Oracle-Linux-7",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Oracle Linux"
          }
        ],
        "category": "vendor",
        "name": "Oracle Corporation"
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.i686",
                "product": {
                  "name": "squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.i686",
                  "product_id": "squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/squashfs-tools@4.3-0.21.gitaae0aff4.el7.tuxcare.els1?arch=i686"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "i686"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.x86_64",
                "product": {
                  "name": "squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.x86_64",
                  "product_id": "squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/squashfs-tools@4.3-0.21.gitaae0aff4.el7.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.3-0.21.gitaae0aff4.el7.tuxcare.els1.i686 as a component of Oracle Linux 7",
          "product_id": "Oracle-Linux-7:squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.i686"
        },
        "product_reference": "squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.i686",
        "relates_to_product_reference": "Oracle-Linux-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.x86_64 as a component of Oracle Linux 7",
          "product_id": "Oracle-Linux-7:squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.x86_64"
        },
        "product_reference": "squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.x86_64",
        "relates_to_product_reference": "Oracle-Linux-7"
      }
    ]
  },
  "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"
        }
      ],
      "product_status": {
        "fixed": [
          "Oracle-Linux-7:squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.i686",
          "Oracle-Linux-7:squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.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": "2026-10-19T20:12:01.996086Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els/releases/CLSA-2026:1792440720",
          "product_ids": [
            "Oracle-Linux-7:squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.i686",
            "Oracle-Linux-7:squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.x86_64"
          ],
          "url": "https://cve.tuxcare.com/els/releases/CLSA-2026:1792440720"
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ]
    }
  ]
}