{
  "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-43860-els_os-centos7els.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-04-13T09:52:20Z",
      "generator": {
        "date": "2026-04-13T09:52:20Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2021-43860-ELS_OS-CENTOS7ELS",
      "initial_release_date": "2021-01-01T00:00:00Z",
      "revision_history": [
        {
          "date": "2021-01-01T00:00:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-04-13T09:52:20Z",
          "number": "2",
          "summary": "Official Publication"
        }
      ],
      "status": "final",
      "version": "2"
    },
    "title": "Security update on CVE-2021-43860"
  },
  "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-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": "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-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": "architecture",
            "name": "x86_64"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "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-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-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"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-43860",
      "cwe": {
        "id": "CWE-269",
        "name": "Improper Privilege Management"
      },
      "notes": [
        {
          "category": "description",
          "text": "Flatpak is a Linux application sandboxing and distribution framework. Prior to versions 1.12.3 and 1.10.6, Flatpak doesn't properly validate that the permissions displayed to the user for an app at install time match the actual permissions granted to the app at runtime, in the case that there's a null byte in the metadata file of an app. Therefore apps can grant themselves permissions without the consent of the user. Flatpak shows permissions to the user during install by reading them from the \"xa.metadata\" key in the commit metadata. This cannot contain a null terminator, because it is an untrusted GVariant. Flatpak compares these permissions to the *actual* metadata, from the \"metadata\" file to ensure it wasn't lied to. However, the actual metadata contents are loaded in several places where they are read as simple C-style strings. That means that, if the metadata file includes a null terminator, only the content of the file from *before* the terminator gets compared to xa.metadata. Thus, any permissions that appear in the metadata file after a null terminator are applied at runtime but not shown to the user. So maliciously crafted apps can give themselves hidden permissions. Users who have Flatpaks installed from untrusted sources are at risk in case the Flatpak has a maliciously crafted metadata file, either initially or in an update. This issue is patched in versions 1.12.3 and 1.10.6. As a workaround, users can manually check the permissions of installed apps by checking the metadata file or the xa.metadata key on the commit metadata.",
          "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": {
        "under_investigation": [
          "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"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2021-43860"
        },
        {
          "category": "external",
          "summary": "https://github.com/flatpak/flatpak/commit/54ec1a482dfc668127eaae57f135e6a8e0bc52da",
          "url": "https://github.com/flatpak/flatpak/commit/54ec1a482dfc668127eaae57f135e6a8e0bc52da"
        },
        {
          "category": "external",
          "summary": "https://github.com/flatpak/flatpak/commit/65cbfac982cb1c83993a9e19aa424daee8e9f042",
          "url": "https://github.com/flatpak/flatpak/commit/65cbfac982cb1c83993a9e19aa424daee8e9f042"
        },
        {
          "category": "external",
          "summary": "https://github.com/flatpak/flatpak/commit/93357d357119093804df05acc32ff335839c6451",
          "url": "https://github.com/flatpak/flatpak/commit/93357d357119093804df05acc32ff335839c6451"
        },
        {
          "category": "external",
          "summary": "https://github.com/flatpak/flatpak/commit/ba818f504c926baaf6e362be8159cfacf994310e",
          "url": "https://github.com/flatpak/flatpak/commit/ba818f504c926baaf6e362be8159cfacf994310e"
        },
        {
          "category": "external",
          "summary": "https://github.com/flatpak/flatpak/commit/d9a8f9d8ccc0b7c1135d0ecde006a75d25f66aee",
          "url": "https://github.com/flatpak/flatpak/commit/d9a8f9d8ccc0b7c1135d0ecde006a75d25f66aee"
        },
        {
          "category": "external",
          "summary": "https://github.com/flatpak/flatpak/releases/tag/1.10.6",
          "url": "https://github.com/flatpak/flatpak/releases/tag/1.10.6"
        },
        {
          "category": "external",
          "summary": "https://github.com/flatpak/flatpak/releases/tag/1.12.3",
          "url": "https://github.com/flatpak/flatpak/releases/tag/1.12.3"
        },
        {
          "category": "external",
          "summary": "https://github.com/flatpak/flatpak/security/advisories/GHSA-qpjc-vq3c-572j",
          "url": "https://github.com/flatpak/flatpak/security/advisories/GHSA-qpjc-vq3c-572j"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APFTBYGJJVJPFVHRXUW5PII5XOAFI4KH/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APFTBYGJJVJPFVHRXUW5PII5XOAFI4KH/"
        },
        {
          "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/2022/dsa-5049",
          "url": "https://www.debian.org/security/2022/dsa-5049"
        }
      ],
      "release_date": "2022-01-12T22:15:00Z",
      "remediations": [
        {
          "category": "none_available",
          "details": "Affected",
          "product_ids": [
            "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"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 6.8,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 8.6,
            "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:H",
            "version": "3.1"
          },
          "products": [
            "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"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ]
    }
  ]
}