{
  "document": {
    "aggregate_severity": {
      "text": "High"
    },
    "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/centos7els/vex/2021/cve-2021-40153-els_os-centos7els.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-05-05T11:25:46Z",
      "generator": {
        "date": "2026-05-05T11:25:46Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2021-40153-ELS_OS-CENTOS7ELS",
      "initial_release_date": "2021-08-27T15:15:00Z",
      "revision_history": [
        {
          "date": "2021-08-27T15:15:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-05-05T11:25:46Z",
          "number": "2",
          "summary": "Official Publication"
        }
      ],
      "status": "final",
      "version": "2"
    },
    "title": "Security update on CVE-2021-40153"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Community Enterprise Operating System 7",
                "product": {
                  "name": "Community Enterprise Operating System 7",
                  "product_id": "CentOS-7",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:centos:centos:7:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Community Enterprise Operating System"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.x86_64",
                "product": {
                  "name": "squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.x86_64",
                  "product_id": "squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/centos/squashfs-tools@4.3-0.21.gitaae0aff4.el7?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          }
        ],
        "category": "vendor",
        "name": "Red Hat, Inc."
      },
      {
        "branches": [
          {
            "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.x86_64 as a component of Community Enterprise Operating System 7",
          "product_id": "CentOS-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": "CentOS-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.x86_64 as a component of Community Enterprise Operating System 7",
          "product_id": "CentOS-7:squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.x86_64"
        },
        "product_reference": "squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.x86_64",
        "relates_to_product_reference": "CentOS-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"
        },
        {
          "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": [
          "CentOS-7:squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.x86_64"
        ],
        "known_affected": [
          "CentOS-7:squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.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-04-30T10:25:00.260785Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els/releases/CLSA-2026:1777544697",
          "product_ids": [
            "CentOS-7:squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.x86_64"
          ],
          "url": "https://cve.tuxcare.com/els/releases/CLSA-2026:1777544697"
        },
        {
          "category": "none_available",
          "details": "Affected",
          "product_ids": [
            "CentOS-7:squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.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": [
            "CentOS-7:squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.tuxcare.els1.x86_64",
            "CentOS-7:squashfs-tools-0:4.3-0.21.gitaae0aff4.el7.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ]
    }
  ]
}