<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
	<DocumentTitle xml:lang="en">An update for flatpak is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2</DocumentTitle>
	<DocumentType>Security Advisory</DocumentType>
	<DocumentPublisher Type="Vendor">
		<ContactDetails>openeuler-security@openeuler.org</ContactDetails>
		<IssuingAuthority>openEuler security committee</IssuingAuthority>
	</DocumentPublisher>
	<DocumentTracking>
		<Identification>
			<ID>openEuler-SA-2021-1404</ID>
		</Identification>
		<Status>Final</Status>
		<Version>1.0</Version>
		<RevisionHistory>
			<Revision>
				<Number>1.0</Number>
				<Date>2021-10-30</Date>
				<Description>Initial</Description>
			</Revision>
		</RevisionHistory>
		<InitialReleaseDate>2021-10-30</InitialReleaseDate>
		<CurrentReleaseDate>2021-10-30</CurrentReleaseDate>
		<Generator>
			<Engine>openEuler SA Tool V1.0</Engine>
			<Date>2021-10-30</Date>
		</Generator>
	</DocumentTracking>
	<DocumentNotes>
		<Note Title="Synopsis" Type="General" Ordinal="1" xml:lang="en">flatpak security update</Note>
		<Note Title="Summary" Type="General" Ordinal="2" xml:lang="en">An update for flatpak is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.</Note>
		<Note Title="Description" Type="General" Ordinal="3" xml:lang="en">flatpak is a system for building, distributing and running sandboxed desktop applications on Linux.

Security Fix(es):

In versions prior to 1.10.4 and 1.12.0, Flatpak apps with direct access to AF_UNIX sockets such as those used by Wayland, Pipewire or pipewire-pulse can trick portals and other host-OS services into treating the Flatpak app as though it was an ordinary, non-sandboxed host-OS process. They can do this by manipulating the VFS using recent mount-related syscalls that are not blocked by Flatpak&apos;s denylist seccomp filter, in order to substitute a crafted `/.flatpak-info` or make that file disappear entirely. Flatpak apps that act as clients for AF_UNIX sockets such as those used by Wayland, Pipewire or pipewire-pulse can escalate the privileges that the corresponding services will believe the Flatpak app has. Note that protocols that operate entirely over the D-Bus session bus (user bus), system bus or accessibility bus are not affected by this. This is due to the use of a proxy process `xdg-dbus-proxy`, whose VFS cannot be manipulated by the Flatpak app, when interacting with these buses. Patches exist for versions 1.10.4 and 1.12.0, and as of time of publication, a patch for version 1.8.2 is being planned. There are no workarounds aside from upgrading to a patched version.(CVE-2021-41133)</Note>
		<Note Title="Topic" Type="General" Ordinal="4" xml:lang="en">An update for flatpak is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.

openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.</Note>
		<Note Title="Severity" Type="General" Ordinal="5" xml:lang="en">High</Note>
		<Note Title="Affected Component" Type="General" Ordinal="6" xml:lang="en">flatpak</Note>
	</DocumentNotes>
	<DocumentReferences>
		<Reference Type="Self">
			<URL>https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1404</URL>
		</Reference>
		<Reference Type="openEuler CVE">
			<URL>https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-41133</URL>
		</Reference>
		<Reference Type="Other">
			<URL>https://nvd.nist.gov/vuln/detail/CVE-2021-41133</URL>
		</Reference>
	</DocumentReferences>
	<ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
		<Branch Type="Product Name" Name="openEuler">
			<FullProductName ProductID="openEuler-20.03-LTS-SP1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">openEuler-20.03-LTS-SP1</FullProductName>
			<FullProductName ProductID="openEuler-20.03-LTS-SP2" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">openEuler-20.03-LTS-SP2</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="aarch64">
			<FullProductName ProductID="flatpak-debuginfo-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-debuginfo-1.0.3-7.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="flatpak-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-1.0.3-7.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="flatpak-devel-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-devel-1.0.3-7.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="flatpak-debugsource-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-debugsource-1.0.3-7.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="flatpak-debuginfo-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-debuginfo-1.0.3-7.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="flatpak-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-1.0.3-7.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="flatpak-devel-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-devel-1.0.3-7.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="flatpak-debugsource-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-debugsource-1.0.3-7.oe1.aarch64.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="noarch">
			<FullProductName ProductID="flatpak-help-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-help-1.0.3-7.oe1.noarch.rpm</FullProductName>
			<FullProductName ProductID="flatpak-help-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-help-1.0.3-7.oe1.noarch.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="src">
			<FullProductName ProductID="flatpak-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-1.0.3-7.oe1.src.rpm</FullProductName>
			<FullProductName ProductID="flatpak-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-1.0.3-7.oe1.src.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="x86_64">
			<FullProductName ProductID="flatpak-devel-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-devel-1.0.3-7.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="flatpak-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-1.0.3-7.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="flatpak-debugsource-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-debugsource-1.0.3-7.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="flatpak-debuginfo-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-debuginfo-1.0.3-7.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="flatpak-devel-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-devel-1.0.3-7.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="flatpak-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-1.0.3-7.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="flatpak-debugsource-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-debugsource-1.0.3-7.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="flatpak-debuginfo-1.0.3-7" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-debuginfo-1.0.3-7.oe1.x86_64.rpm</FullProductName>
		</Branch>
	</ProductTree>
	<Vulnerability Ordinal="1" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
		<Notes>
			<Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">In versions prior to 1.10.4 and 1.12.0, Flatpak apps with direct access to AF_UNIX sockets such as those used by Wayland, Pipewire or pipewire-pulse can trick portals and other host-OS services into treating the Flatpak app as though it was an ordinary, non-sandboxed host-OS process. They can do this by manipulating the VFS using recent mount-related syscalls that are not blocked by Flatpak&apos;s denylist seccomp filter, in order to substitute a crafted `/.flatpak-info` or make that file disappear entirely. Flatpak apps that act as clients for AF_UNIX sockets such as those used by Wayland, Pipewire or pipewire-pulse can escalate the privileges that the corresponding services will believe the Flatpak app has. Note that protocols that operate entirely over the D-Bus session bus (user bus), system bus or accessibility bus are not affected by this. This is due to the use of a proxy process `xdg-dbus-proxy`, whose VFS cannot be manipulated by the Flatpak app, when interacting with these buses. Patches exist for versions 1.10.4 and 1.12.0, and as of time of publication, a patch for version 1.8.2 is being planned. There are no workarounds aside from upgrading to a patched version.</Note>
		</Notes>
		<ReleaseDate>2021-10-30</ReleaseDate>
		<CVE>CVE-2021-41133</CVE>
		<ProductStatuses>
			<Status Type="Fixed">
				<ProductID>openEuler-20.03-LTS-SP1</ProductID>
				<ProductID>openEuler-20.03-LTS-SP2</ProductID>
			</Status>
		</ProductStatuses>
		<Threats>
			<Threat Type="Impact">
				<Description>High</Description>
			</Threat>
		</Threats>
		<CVSSScoreSets>
			<ScoreSet>
				<BaseScore>7.8</BaseScore>
				<Vector>AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H</Vector>
			</ScoreSet>
		</CVSSScoreSets>
		<Remediations>
			<Remediation Type="Vendor Fix">
				<Description>flatpak security update</Description>
				<DATE>2021-10-30</DATE>
				<URL>https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1404</URL>
			</Remediation>
		</Remediations>
	</Vulnerability>
</cvrfdoc>