cvrf2cusa/cvrf/2022/cvrf-openEuler-SA-2022-1520.xml
Jia Chao 0b34274085 git mv
Signed-off-by: Jia Chao <jiac13@chinaunicom.cn>
2024-07-25 09:57:37 +08:00

131 lines
12 KiB
XML

<?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,openEuler-20.03-LTS-SP2 and openEuler-20.03-LTS-SP3</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-2022-1520</ID>
</Identification>
<Status>Final</Status>
<Version>1.0</Version>
<RevisionHistory>
<Revision>
<Number>1.0</Number>
<Date>2022-02-11</Date>
<Description>Initial</Description>
</Revision>
</RevisionHistory>
<InitialReleaseDate>2022-02-11</InitialReleaseDate>
<CurrentReleaseDate>2022-02-11</CurrentReleaseDate>
<Generator>
<Engine>openEuler SA Tool V1.0</Engine>
<Date>2022-02-11</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,openEuler-20.03-LTS-SP2 and openEuler-20.03-LTS-SP3.</Note>
<Note Title="Description" Type="General" Ordinal="3" xml:lang="en">Application deployment framework for desktop apps.
Security Fix(es):
Flatpak is a Linux application sandboxing and distribution framework. Prior to versions 1.12.3 and 1.10.6, Flatpak doesn&apos;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&apos;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 &quot;xa.metadata&quot; 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 &quot;metadata&quot; file to ensure it wasn&apos;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.(CVE-2021-43860)</Note>
<Note Title="Topic" Type="General" Ordinal="4" xml:lang="en">An update for flatpak is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP2 and openEuler-20.03-LTS-SP3.
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-2022-1520</URL>
</Reference>
<Reference Type="openEuler CVE">
<URL>https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-43860</URL>
</Reference>
<Reference Type="Other">
<URL>https://nvd.nist.gov/vuln/detail/CVE-2021-43860</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>
<FullProductName ProductID="openEuler-20.03-LTS-SP3" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">openEuler-20.03-LTS-SP3</FullProductName>
</Branch>
<Branch Type="Package Arch" Name="aarch64">
<FullProductName ProductID="flatpak-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-1.0.3-10.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="flatpak-debugsource-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-debugsource-1.0.3-10.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="flatpak-devel-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-devel-1.0.3-10.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="flatpak-debuginfo-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-debuginfo-1.0.3-10.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="flatpak-debugsource-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-debugsource-1.0.3-10.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="flatpak-devel-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-devel-1.0.3-10.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="flatpak-debuginfo-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-debuginfo-1.0.3-10.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="flatpak-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-1.0.3-10.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="flatpak-debuginfo-1.0.3-8" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">flatpak-debuginfo-1.0.3-8.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="flatpak-1.0.3-8" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">flatpak-1.0.3-8.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="flatpak-devel-1.0.3-8" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">flatpak-devel-1.0.3-8.oe1.aarch64.rpm</FullProductName>
<FullProductName ProductID="flatpak-debugsource-1.0.3-8" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">flatpak-debugsource-1.0.3-8.oe1.aarch64.rpm</FullProductName>
</Branch>
<Branch Type="Package Arch" Name="noarch">
<FullProductName ProductID="flatpak-help-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-help-1.0.3-10.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="flatpak-help-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-help-1.0.3-10.oe1.noarch.rpm</FullProductName>
<FullProductName ProductID="flatpak-help-1.0.3-8" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">flatpak-help-1.0.3-8.oe1.noarch.rpm</FullProductName>
</Branch>
<Branch Type="Package Arch" Name="src">
<FullProductName ProductID="flatpak-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-1.0.3-10.oe1.src.rpm</FullProductName>
<FullProductName ProductID="flatpak-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-1.0.3-10.oe1.src.rpm</FullProductName>
<FullProductName ProductID="flatpak-1.0.3-8" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">flatpak-1.0.3-8.oe1.src.rpm</FullProductName>
</Branch>
<Branch Type="Package Arch" Name="x86_64">
<FullProductName ProductID="flatpak-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-1.0.3-10.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="flatpak-debuginfo-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-debuginfo-1.0.3-10.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="flatpak-devel-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-devel-1.0.3-10.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="flatpak-debugsource-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">flatpak-debugsource-1.0.3-10.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="flatpak-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-1.0.3-10.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="flatpak-debugsource-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-debugsource-1.0.3-10.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="flatpak-debuginfo-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-debuginfo-1.0.3-10.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="flatpak-devel-1.0.3-10" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP2">flatpak-devel-1.0.3-10.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="flatpak-debugsource-1.0.3-8" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">flatpak-debugsource-1.0.3-8.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="flatpak-devel-1.0.3-8" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">flatpak-devel-1.0.3-8.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="flatpak-1.0.3-8" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">flatpak-1.0.3-8.oe1.x86_64.rpm</FullProductName>
<FullProductName ProductID="flatpak-debuginfo-1.0.3-8" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP3">flatpak-debuginfo-1.0.3-8.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">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.</Note>
</Notes>
<ReleaseDate>2022-02-11</ReleaseDate>
<CVE>CVE-2021-43860</CVE>
<ProductStatuses>
<Status Type="Fixed">
<ProductID>openEuler-20.03-LTS-SP1</ProductID>
<ProductID>openEuler-20.03-LTS-SP2</ProductID>
<ProductID>openEuler-20.03-LTS-SP3</ProductID>
</Status>
</ProductStatuses>
<Threats>
<Threat Type="Impact">
<Description>High</Description>
</Threat>
</Threats>
<CVSSScoreSets>
<ScoreSet>
<BaseScore>8.6</BaseScore>
<Vector>AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H</Vector>
</ScoreSet>
</CVSSScoreSets>
<Remediations>
<Remediation Type="Vendor Fix">
<Description>flatpak security update</Description>
<DATE>2022-02-11</DATE>
<URL>https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1520</URL>
</Remediation>
</Remediations>
</Vulnerability>
</cvrfdoc>