{
  "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",
    "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-21381-els_os-centos7els.json"
      }
    ],
    "title": "Security update on CVE-2021-21381",
    "tracking": {
      "current_release_date": "2025-12-23T20:55:41Z",
      "generator": {
        "date": "2025-12-23T20:55:41Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2021-21381-ELS_OS-CENTOS7ELS",
      "initial_release_date": "2021-03-11T17:15:00Z",
      "revision_history": [
        {
          "date": "2021-03-11T17:15:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2025-10-16T19:28:47Z",
          "number": "2",
          "summary": "Official Publication"
        },
        {
          "date": "2025-11-29T10:53:45Z",
          "number": "3",
          "summary": "Update document"
        },
        {
          "date": "2025-12-23T20:55:41Z",
          "number": "4",
          "summary": "Update document"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "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"
          }
        ],
        "category": "vendor",
        "name": "Red Hat, Inc."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "flatpak-0:1.0.9-13.el7_9.tuxcare.els1.x86_64",
                "product": {
                  "name": "flatpak-0:1.0.9-13.el7_9.tuxcare.els1.x86_64",
                  "product_id": "flatpak-0:1.0.9-13.el7_9.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/flatpak@1.0.9-13.el7_9.tuxcare.els1?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "flatpak-builder-0:1.0.0-13.el7_9.tuxcare.els1.x86_64",
                "product": {
                  "name": "flatpak-builder-0:1.0.0-13.el7_9.tuxcare.els1.x86_64",
                  "product_id": "flatpak-builder-0:1.0.0-13.el7_9.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/flatpak-builder@1.0.0-13.el7_9.tuxcare.els1?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "flatpak-devel-0:1.0.9-13.el7_9.tuxcare.els1.x86_64",
                "product": {
                  "name": "flatpak-devel-0:1.0.9-13.el7_9.tuxcare.els1.x86_64",
                  "product_id": "flatpak-devel-0:1.0.9-13.el7_9.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/flatpak-devel@1.0.9-13.el7_9.tuxcare.els1?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "flatpak-libs-0:1.0.9-13.el7_9.tuxcare.els1.x86_64",
                "product": {
                  "name": "flatpak-libs-0:1.0.9-13.el7_9.tuxcare.els1.x86_64",
                  "product_id": "flatpak-libs-0:1.0.9-13.el7_9.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/tuxcare/flatpak-libs@1.0.9-13.el7_9.tuxcare.els1?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "flatpak-1.0.9-13.el7_9.x86_64",
                "product": {
                  "name": "flatpak-1.0.9-13.el7_9.x86_64",
                  "product_id": "flatpak-1.0.9-13.el7_9.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/centos/flatpak@1.0.9-13.el7_9?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "flatpak-builder-1.0.0-13.el7_9.x86_64",
                "product": {
                  "name": "flatpak-builder-1.0.0-13.el7_9.x86_64",
                  "product_id": "flatpak-builder-1.0.0-13.el7_9.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/centos/flatpak-builder@1.0.0-13.el7_9?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "flatpak-devel-1.0.9-13.el7_9.x86_64",
                "product": {
                  "name": "flatpak-devel-1.0.9-13.el7_9.x86_64",
                  "product_id": "flatpak-devel-1.0.9-13.el7_9.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/centos/flatpak-devel@1.0.9-13.el7_9?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "flatpak-libs-1.0.9-13.el7_9.x86_64",
                "product": {
                  "name": "flatpak-libs-1.0.9-13.el7_9.x86_64",
                  "product_id": "flatpak-libs-1.0.9-13.el7_9.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/centos/flatpak-libs@1.0.9-13.el7_9?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          }
        ],
        "category": "vendor",
        "name": "Red Hat, Inc."
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-0:1.0.9-13.el7_9.tuxcare.els1.x86_64 as a component of Community Enterprise Operating System 7",
          "product_id": "CentOS-7:flatpak-0:1.0.9-13.el7_9.tuxcare.els1.x86_64"
        },
        "product_reference": "flatpak-0:1.0.9-13.el7_9.tuxcare.els1.x86_64",
        "relates_to_product_reference": "CentOS-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-builder-0:1.0.0-13.el7_9.tuxcare.els1.x86_64 as a component of Community Enterprise Operating System 7",
          "product_id": "CentOS-7:flatpak-builder-0:1.0.0-13.el7_9.tuxcare.els1.x86_64"
        },
        "product_reference": "flatpak-builder-0:1.0.0-13.el7_9.tuxcare.els1.x86_64",
        "relates_to_product_reference": "CentOS-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-devel-0:1.0.9-13.el7_9.tuxcare.els1.x86_64 as a component of Community Enterprise Operating System 7",
          "product_id": "CentOS-7:flatpak-devel-0:1.0.9-13.el7_9.tuxcare.els1.x86_64"
        },
        "product_reference": "flatpak-devel-0:1.0.9-13.el7_9.tuxcare.els1.x86_64",
        "relates_to_product_reference": "CentOS-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-libs-0:1.0.9-13.el7_9.tuxcare.els1.x86_64 as a component of Community Enterprise Operating System 7",
          "product_id": "CentOS-7:flatpak-libs-0:1.0.9-13.el7_9.tuxcare.els1.x86_64"
        },
        "product_reference": "flatpak-libs-0:1.0.9-13.el7_9.tuxcare.els1.x86_64",
        "relates_to_product_reference": "CentOS-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-1.0.9-13.el7_9.x86_64 as a component of Community Enterprise Operating System 7",
          "product_id": "CentOS-7:flatpak-1.0.9-13.el7_9.x86_64"
        },
        "product_reference": "flatpak-1.0.9-13.el7_9.x86_64",
        "relates_to_product_reference": "CentOS-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-builder-1.0.0-13.el7_9.x86_64 as a component of Community Enterprise Operating System 7",
          "product_id": "CentOS-7:flatpak-builder-1.0.0-13.el7_9.x86_64"
        },
        "product_reference": "flatpak-builder-1.0.0-13.el7_9.x86_64",
        "relates_to_product_reference": "CentOS-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-devel-1.0.9-13.el7_9.x86_64 as a component of Community Enterprise Operating System 7",
          "product_id": "CentOS-7:flatpak-devel-1.0.9-13.el7_9.x86_64"
        },
        "product_reference": "flatpak-devel-1.0.9-13.el7_9.x86_64",
        "relates_to_product_reference": "CentOS-7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-libs-1.0.9-13.el7_9.x86_64 as a component of Community Enterprise Operating System 7",
          "product_id": "CentOS-7:flatpak-libs-1.0.9-13.el7_9.x86_64"
        },
        "product_reference": "flatpak-libs-1.0.9-13.el7_9.x86_64",
        "relates_to_product_reference": "CentOS-7"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-21381",
      "cwe": {
        "id": "CWE-74",
        "name": "Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')"
      },
      "notes": [
        {
          "category": "description",
          "text": "Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. In Flatpack since version 0.9.4 and before version 1.10.2 has a vulnerability in the \"file forwarding\" feature which can be used by an attacker to gain access to files that would not ordinarily be allowed by the app's permissions. By putting the special tokens `@@` and/or `@@u` in the Exec field of a Flatpak app's .desktop file, a malicious app publisher can trick flatpak into behaving as though the user had chosen to open a target file with their Flatpak app, which automatically makes that file available to the Flatpak app. This is fixed in version 1.10.2. A minimal solution is the first commit \"`Disallow @@ and @@U usage in desktop files`\". The follow-up commits \"`dir: Reserve the whole @@ prefix`\" and \"`dir: Refuse to export .desktop files with suspicious uses of @@ tokens`\" are recommended, but not strictly required. As a workaround, avoid installing Flatpak apps from untrusted sources, or check the contents of the exported `.desktop` files in `exports/share/applications/*.desktop` (typically `~/.local/share/flatpak/exports/share/applications/*.desktop` and `/var/lib/flatpak/exports/share/applications/*.desktop`) to make sure that literal filenames do not follow `@@` or `@@u`.",
          "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:flatpak-0:1.0.9-13.el7_9.tuxcare.els1.x86_64",
          "CentOS-7:flatpak-builder-0:1.0.0-13.el7_9.tuxcare.els1.x86_64",
          "CentOS-7:flatpak-devel-0:1.0.9-13.el7_9.tuxcare.els1.x86_64",
          "CentOS-7:flatpak-libs-0:1.0.9-13.el7_9.tuxcare.els1.x86_64"
        ],
        "known_affected": [
          "CentOS-7:flatpak-1.0.9-13.el7_9.x86_64",
          "CentOS-7:flatpak-builder-1.0.0-13.el7_9.x86_64",
          "CentOS-7:flatpak-devel-1.0.9-13.el7_9.x86_64",
          "CentOS-7:flatpak-libs-1.0.9-13.el7_9.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2021-21381"
        },
        {
          "category": "external",
          "summary": "https://github.com/flatpak/flatpak/commit/8279c5818425b6812523e3805bbe242fb6a5d961",
          "url": "https://github.com/flatpak/flatpak/commit/8279c5818425b6812523e3805bbe242fb6a5d961"
        },
        {
          "category": "external",
          "summary": "https://github.com/flatpak/flatpak/commit/a7401e638bf0c03102039e216ab1081922f140ae",
          "url": "https://github.com/flatpak/flatpak/commit/a7401e638bf0c03102039e216ab1081922f140ae"
        },
        {
          "category": "external",
          "summary": "https://github.com/flatpak/flatpak/commit/eb7946bb6248923d8c90fe9b84425fef97ae580d",
          "url": "https://github.com/flatpak/flatpak/commit/eb7946bb6248923d8c90fe9b84425fef97ae580d"
        },
        {
          "category": "external",
          "summary": "https://github.com/flatpak/flatpak/pull/4156",
          "url": "https://github.com/flatpak/flatpak/pull/4156"
        },
        {
          "category": "external",
          "summary": "https://github.com/flatpak/flatpak/releases/tag/1.10.2",
          "url": "https://github.com/flatpak/flatpak/releases/tag/1.10.2"
        },
        {
          "category": "external",
          "summary": "https://github.com/flatpak/flatpak/security/advisories/GHSA-xgh4-387p-hqpp",
          "url": "https://github.com/flatpak/flatpak/security/advisories/GHSA-xgh4-387p-hqpp"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MXXLXC2DPJ45HSMTI5MZYHMYEGQN6AA/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MXXLXC2DPJ45HSMTI5MZYHMYEGQN6AA/"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WXNVFOIB6ZP4DGOVKAM25T6OIEP3YLGV/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WXNVFOIB6ZP4DGOVKAM25T6OIEP3YLGV/"
        },
        {
          "category": "external",
          "summary": "https://security.gentoo.org/glsa/202312-12",
          "url": "https://security.gentoo.org/glsa/202312-12"
        },
        {
          "category": "external",
          "summary": "https://www.debian.org/security/2021/dsa-4868",
          "url": "https://www.debian.org/security/2021/dsa-4868"
        }
      ],
      "release_date": "2021-03-11T17:15:00Z",
      "remediations": [
        {
          "category": "none_available",
          "details": "Affected",
          "product_ids": [
            "CentOS-7:flatpak-1.0.9-13.el7_9.x86_64",
            "CentOS-7:flatpak-builder-1.0.0-13.el7_9.x86_64",
            "CentOS-7:flatpak-devel-1.0.9-13.el7_9.x86_64",
            "CentOS-7:flatpak-libs-1.0.9-13.el7_9.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 5.8,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:N",
            "version": "2.0"
          },
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 8.3,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N",
            "version": "3.1"
          },
          "products": [
            "CentOS-7:flatpak-0:1.0.9-13.el7_9.tuxcare.els1.x86_64",
            "CentOS-7:flatpak-1.0.9-13.el7_9.x86_64",
            "CentOS-7:flatpak-builder-0:1.0.0-13.el7_9.tuxcare.els1.x86_64",
            "CentOS-7:flatpak-builder-1.0.0-13.el7_9.x86_64",
            "CentOS-7:flatpak-devel-0:1.0.9-13.el7_9.tuxcare.els1.x86_64",
            "CentOS-7:flatpak-devel-1.0.9-13.el7_9.x86_64",
            "CentOS-7:flatpak-libs-0:1.0.9-13.el7_9.tuxcare.els1.x86_64",
            "CentOS-7:flatpak-libs-1.0.9-13.el7_9.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ]
    }
  ]
}