opensuse-su-2022:0712-1
Vulnerability from csaf_opensuse
Published
2022-03-04 08:31
Modified
2022-03-04 08:31
Summary
Security update for flatpak

Notes

Title of the patch
Security update for flatpak
Description of the patch
This update for flatpak fixes the following issues: Update to flatpak 1.10.7: - CVE-2022-21682: Introduce new option --nofilesystem=host:reset to support flatpak-builder 1.2.2 (bsc#1194611). - CVE-2021-43860: A malicious repository could hav sent invalid application metadata in a way that hides some of the app permissions displayed during installation (bsc#1194610).
Patchnames
openSUSE-SLE-15.3-2022-712
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).



{
  "document": {
    "aggregate_severity": {
      "namespace": "https://www.suse.com/support/security/rating/",
      "text": "important"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright 2024 SUSE LLC. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "Security update for flatpak",
        "title": "Title of the patch"
      },
      {
        "category": "description",
        "text": "This update for flatpak fixes the following issues:\n\nUpdate to flatpak 1.10.7:\n\n- CVE-2022-21682: Introduce new option --nofilesystem=host:reset to support flatpak-builder 1.2.2 (bsc#1194611).\n- CVE-2021-43860: A malicious repository could hav sent invalid application metadata in a way that hides some of the app permissions displayed during installation (bsc#1194610).\n",
        "title": "Description of the patch"
      },
      {
        "category": "details",
        "text": "openSUSE-SLE-15.3-2022-712",
        "title": "Patchnames"
      },
      {
        "category": "legal_disclaimer",
        "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
        "title": "Terms of use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://www.suse.com/support/security/contact/",
      "name": "SUSE Product Security Team",
      "namespace": "https://www.suse.com/"
    },
    "references": [
      {
        "category": "external",
        "summary": "SUSE ratings",
        "url": "https://www.suse.com/support/security/rating/"
      },
      {
        "category": "self",
        "summary": "URL of this CSAF notice",
        "url": "https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2022_0712-1.json"
      },
      {
        "category": "self",
        "summary": "URL for openSUSE-SU-2022:0712-1",
        "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/T4OG73MX3JPZBHYMUXUULPTVL7ZOOTZ5/"
      },
      {
        "category": "self",
        "summary": "E-Mail link for openSUSE-SU-2022:0712-1",
        "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/T4OG73MX3JPZBHYMUXUULPTVL7ZOOTZ5/"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1194610",
        "url": "https://bugzilla.suse.com/1194610"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1194611",
        "url": "https://bugzilla.suse.com/1194611"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2021-43860 page",
        "url": "https://www.suse.com/security/cve/CVE-2021-43860/"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2022-21682 page",
        "url": "https://www.suse.com/security/cve/CVE-2022-21682/"
      }
    ],
    "title": "Security update for flatpak",
    "tracking": {
      "current_release_date": "2022-03-04T08:31:01Z",
      "generator": {
        "date": "2022-03-04T08:31:01Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "openSUSE-SU-2022:0712-1",
      "initial_release_date": "2022-03-04T08:31:01Z",
      "revision_history": [
        {
          "date": "2022-03-04T08:31:01Z",
          "number": "1",
          "summary": "Current version"
        }
      ],
      "status": "final",
      "version": "1"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "flatpak-1.10.7-4.12.1.aarch64",
                "product": {
                  "name": "flatpak-1.10.7-4.12.1.aarch64",
                  "product_id": "flatpak-1.10.7-4.12.1.aarch64"
                }
              },
              {
                "category": "product_version",
                "name": "flatpak-devel-1.10.7-4.12.1.aarch64",
                "product": {
                  "name": "flatpak-devel-1.10.7-4.12.1.aarch64",
                  "product_id": "flatpak-devel-1.10.7-4.12.1.aarch64"
                }
              },
              {
                "category": "product_version",
                "name": "flatpak-zsh-completion-1.10.7-4.12.1.aarch64",
                "product": {
                  "name": "flatpak-zsh-completion-1.10.7-4.12.1.aarch64",
                  "product_id": "flatpak-zsh-completion-1.10.7-4.12.1.aarch64"
                }
              },
              {
                "category": "product_version",
                "name": "libflatpak0-1.10.7-4.12.1.aarch64",
                "product": {
                  "name": "libflatpak0-1.10.7-4.12.1.aarch64",
                  "product_id": "libflatpak0-1.10.7-4.12.1.aarch64"
                }
              },
              {
                "category": "product_version",
                "name": "system-user-flatpak-1.10.7-4.12.1.aarch64",
                "product": {
                  "name": "system-user-flatpak-1.10.7-4.12.1.aarch64",
                  "product_id": "system-user-flatpak-1.10.7-4.12.1.aarch64"
                }
              },
              {
                "category": "product_version",
                "name": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.aarch64",
                "product": {
                  "name": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.aarch64",
                  "product_id": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.aarch64"
                }
              }
            ],
            "category": "architecture",
            "name": "aarch64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "flatpak-1.10.7-4.12.1.ppc64le",
                "product": {
                  "name": "flatpak-1.10.7-4.12.1.ppc64le",
                  "product_id": "flatpak-1.10.7-4.12.1.ppc64le"
                }
              },
              {
                "category": "product_version",
                "name": "flatpak-devel-1.10.7-4.12.1.ppc64le",
                "product": {
                  "name": "flatpak-devel-1.10.7-4.12.1.ppc64le",
                  "product_id": "flatpak-devel-1.10.7-4.12.1.ppc64le"
                }
              },
              {
                "category": "product_version",
                "name": "flatpak-zsh-completion-1.10.7-4.12.1.ppc64le",
                "product": {
                  "name": "flatpak-zsh-completion-1.10.7-4.12.1.ppc64le",
                  "product_id": "flatpak-zsh-completion-1.10.7-4.12.1.ppc64le"
                }
              },
              {
                "category": "product_version",
                "name": "libflatpak0-1.10.7-4.12.1.ppc64le",
                "product": {
                  "name": "libflatpak0-1.10.7-4.12.1.ppc64le",
                  "product_id": "libflatpak0-1.10.7-4.12.1.ppc64le"
                }
              },
              {
                "category": "product_version",
                "name": "system-user-flatpak-1.10.7-4.12.1.ppc64le",
                "product": {
                  "name": "system-user-flatpak-1.10.7-4.12.1.ppc64le",
                  "product_id": "system-user-flatpak-1.10.7-4.12.1.ppc64le"
                }
              },
              {
                "category": "product_version",
                "name": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.ppc64le",
                "product": {
                  "name": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.ppc64le",
                  "product_id": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.ppc64le"
                }
              }
            ],
            "category": "architecture",
            "name": "ppc64le"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "flatpak-1.10.7-4.12.1.s390x",
                "product": {
                  "name": "flatpak-1.10.7-4.12.1.s390x",
                  "product_id": "flatpak-1.10.7-4.12.1.s390x"
                }
              },
              {
                "category": "product_version",
                "name": "flatpak-devel-1.10.7-4.12.1.s390x",
                "product": {
                  "name": "flatpak-devel-1.10.7-4.12.1.s390x",
                  "product_id": "flatpak-devel-1.10.7-4.12.1.s390x"
                }
              },
              {
                "category": "product_version",
                "name": "flatpak-zsh-completion-1.10.7-4.12.1.s390x",
                "product": {
                  "name": "flatpak-zsh-completion-1.10.7-4.12.1.s390x",
                  "product_id": "flatpak-zsh-completion-1.10.7-4.12.1.s390x"
                }
              },
              {
                "category": "product_version",
                "name": "libflatpak0-1.10.7-4.12.1.s390x",
                "product": {
                  "name": "libflatpak0-1.10.7-4.12.1.s390x",
                  "product_id": "libflatpak0-1.10.7-4.12.1.s390x"
                }
              },
              {
                "category": "product_version",
                "name": "system-user-flatpak-1.10.7-4.12.1.s390x",
                "product": {
                  "name": "system-user-flatpak-1.10.7-4.12.1.s390x",
                  "product_id": "system-user-flatpak-1.10.7-4.12.1.s390x"
                }
              },
              {
                "category": "product_version",
                "name": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.s390x",
                "product": {
                  "name": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.s390x",
                  "product_id": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.s390x"
                }
              }
            ],
            "category": "architecture",
            "name": "s390x"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "flatpak-1.10.7-4.12.1.x86_64",
                "product": {
                  "name": "flatpak-1.10.7-4.12.1.x86_64",
                  "product_id": "flatpak-1.10.7-4.12.1.x86_64"
                }
              },
              {
                "category": "product_version",
                "name": "flatpak-devel-1.10.7-4.12.1.x86_64",
                "product": {
                  "name": "flatpak-devel-1.10.7-4.12.1.x86_64",
                  "product_id": "flatpak-devel-1.10.7-4.12.1.x86_64"
                }
              },
              {
                "category": "product_version",
                "name": "flatpak-zsh-completion-1.10.7-4.12.1.x86_64",
                "product": {
                  "name": "flatpak-zsh-completion-1.10.7-4.12.1.x86_64",
                  "product_id": "flatpak-zsh-completion-1.10.7-4.12.1.x86_64"
                }
              },
              {
                "category": "product_version",
                "name": "libflatpak0-1.10.7-4.12.1.x86_64",
                "product": {
                  "name": "libflatpak0-1.10.7-4.12.1.x86_64",
                  "product_id": "libflatpak0-1.10.7-4.12.1.x86_64"
                }
              },
              {
                "category": "product_version",
                "name": "system-user-flatpak-1.10.7-4.12.1.x86_64",
                "product": {
                  "name": "system-user-flatpak-1.10.7-4.12.1.x86_64",
                  "product_id": "system-user-flatpak-1.10.7-4.12.1.x86_64"
                }
              },
              {
                "category": "product_version",
                "name": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.x86_64",
                "product": {
                  "name": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.x86_64",
                  "product_id": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.x86_64"
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "openSUSE Leap 15.3",
                "product": {
                  "name": "openSUSE Leap 15.3",
                  "product_id": "openSUSE Leap 15.3",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:opensuse:leap:15.3"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "SUSE Linux Enterprise"
          }
        ],
        "category": "vendor",
        "name": "SUSE"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-1.10.7-4.12.1.aarch64 as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.aarch64"
        },
        "product_reference": "flatpak-1.10.7-4.12.1.aarch64",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-1.10.7-4.12.1.ppc64le as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.ppc64le"
        },
        "product_reference": "flatpak-1.10.7-4.12.1.ppc64le",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-1.10.7-4.12.1.s390x as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.s390x"
        },
        "product_reference": "flatpak-1.10.7-4.12.1.s390x",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-1.10.7-4.12.1.x86_64 as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.x86_64"
        },
        "product_reference": "flatpak-1.10.7-4.12.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-devel-1.10.7-4.12.1.aarch64 as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.aarch64"
        },
        "product_reference": "flatpak-devel-1.10.7-4.12.1.aarch64",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-devel-1.10.7-4.12.1.ppc64le as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.ppc64le"
        },
        "product_reference": "flatpak-devel-1.10.7-4.12.1.ppc64le",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-devel-1.10.7-4.12.1.s390x as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.s390x"
        },
        "product_reference": "flatpak-devel-1.10.7-4.12.1.s390x",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-devel-1.10.7-4.12.1.x86_64 as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.x86_64"
        },
        "product_reference": "flatpak-devel-1.10.7-4.12.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-zsh-completion-1.10.7-4.12.1.aarch64 as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.aarch64"
        },
        "product_reference": "flatpak-zsh-completion-1.10.7-4.12.1.aarch64",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-zsh-completion-1.10.7-4.12.1.ppc64le as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.ppc64le"
        },
        "product_reference": "flatpak-zsh-completion-1.10.7-4.12.1.ppc64le",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-zsh-completion-1.10.7-4.12.1.s390x as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.s390x"
        },
        "product_reference": "flatpak-zsh-completion-1.10.7-4.12.1.s390x",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "flatpak-zsh-completion-1.10.7-4.12.1.x86_64 as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.x86_64"
        },
        "product_reference": "flatpak-zsh-completion-1.10.7-4.12.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libflatpak0-1.10.7-4.12.1.aarch64 as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.aarch64"
        },
        "product_reference": "libflatpak0-1.10.7-4.12.1.aarch64",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libflatpak0-1.10.7-4.12.1.ppc64le as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.ppc64le"
        },
        "product_reference": "libflatpak0-1.10.7-4.12.1.ppc64le",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libflatpak0-1.10.7-4.12.1.s390x as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.s390x"
        },
        "product_reference": "libflatpak0-1.10.7-4.12.1.s390x",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libflatpak0-1.10.7-4.12.1.x86_64 as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.x86_64"
        },
        "product_reference": "libflatpak0-1.10.7-4.12.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "system-user-flatpak-1.10.7-4.12.1.aarch64 as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.aarch64"
        },
        "product_reference": "system-user-flatpak-1.10.7-4.12.1.aarch64",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "system-user-flatpak-1.10.7-4.12.1.ppc64le as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.ppc64le"
        },
        "product_reference": "system-user-flatpak-1.10.7-4.12.1.ppc64le",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "system-user-flatpak-1.10.7-4.12.1.s390x as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.s390x"
        },
        "product_reference": "system-user-flatpak-1.10.7-4.12.1.s390x",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "system-user-flatpak-1.10.7-4.12.1.x86_64 as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.x86_64"
        },
        "product_reference": "system-user-flatpak-1.10.7-4.12.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.aarch64 as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.aarch64"
        },
        "product_reference": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.aarch64",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.ppc64le as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.ppc64le"
        },
        "product_reference": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.ppc64le",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.s390x as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.s390x"
        },
        "product_reference": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.s390x",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.x86_64 as component of openSUSE Leap 15.3",
          "product_id": "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.x86_64"
        },
        "product_reference": "typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 15.3"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-43860",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2021-43860"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "Flatpak is a Linux application sandboxing and distribution framework. Prior to versions 1.12.3 and 1.10.6, Flatpak doesn\u0027t 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\u0027s 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\u0027t 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": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.aarch64",
          "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.ppc64le",
          "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.s390x",
          "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.x86_64",
          "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.aarch64",
          "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.ppc64le",
          "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.s390x",
          "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.x86_64",
          "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.aarch64",
          "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.ppc64le",
          "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.s390x",
          "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.x86_64",
          "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.aarch64",
          "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.ppc64le",
          "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.s390x",
          "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.x86_64",
          "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.aarch64",
          "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.ppc64le",
          "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.s390x",
          "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.x86_64",
          "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.aarch64",
          "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.ppc64le",
          "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.s390x",
          "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.x86_64"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2021-43860",
          "url": "https://www.suse.com/security/cve/CVE-2021-43860"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1194610 for CVE-2021-43860",
          "url": "https://bugzilla.suse.com/1194610"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 8.2,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N",
            "version": "3.1"
          },
          "products": [
            "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2022-03-04T08:31:01Z",
          "details": "important"
        }
      ],
      "title": "CVE-2021-43860"
    },
    {
      "cve": "CVE-2022-21682",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2022-21682"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "Flatpak is a Linux application sandboxing and distribution framework. A path traversal vulnerability affects versions of Flatpak prior to 1.12.3 and 1.10.6. flatpak-builder applies `finish-args` last in the build. At this point the build directory will have the full access that is specified in the manifest, so running `flatpak build` against it will gain those permissions. Normally this will not be done, so this is not problem. However, if `--mirror-screenshots-url` is specified, then flatpak-builder will launch `flatpak build --nofilesystem=host appstream-utils mirror-screenshots` after finalization, which can lead to issues even with the `--nofilesystem=host` protection. In normal use, the only issue is that these empty directories can be created wherever the user has write permissions. However, a malicious application could replace the `appstream-util` binary and potentially do something more hostile. This has been resolved in Flatpak 1.12.3 and 1.10.6 by changing the behaviour of `--nofilesystem=home` and `--nofilesystem=host`.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.aarch64",
          "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.ppc64le",
          "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.s390x",
          "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.x86_64",
          "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.aarch64",
          "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.ppc64le",
          "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.s390x",
          "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.x86_64",
          "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.aarch64",
          "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.ppc64le",
          "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.s390x",
          "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.x86_64",
          "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.aarch64",
          "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.ppc64le",
          "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.s390x",
          "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.x86_64",
          "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.aarch64",
          "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.ppc64le",
          "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.s390x",
          "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.x86_64",
          "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.aarch64",
          "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.ppc64le",
          "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.s390x",
          "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.x86_64"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2022-21682",
          "url": "https://www.suse.com/security/cve/CVE-2022-21682"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1194611 for CVE-2022-21682",
          "url": "https://bugzilla.suse.com/1194611"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1194703 for CVE-2022-21682",
          "url": "https://bugzilla.suse.com/1194703"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N",
            "version": "3.1"
          },
          "products": [
            "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:flatpak-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:flatpak-devel-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:flatpak-zsh-completion-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:libflatpak0-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:system-user-flatpak-1.10.7-4.12.1.x86_64",
            "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.aarch64",
            "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.ppc64le",
            "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.s390x",
            "openSUSE Leap 15.3:typelib-1_0-Flatpak-1_0-1.10.7-4.12.1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2022-03-04T08:31:01Z",
          "details": "moderate"
        }
      ],
      "title": "CVE-2022-21682"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…