SUSE update for flatpak



Published: 2022-09-01
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2021-21261
CVE-2021-21381
CWE-ID CWE-94
CWE-74
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
SUSE Linux Enterprise Server for SAP
Operating systems & Components / Operating system

SUSE Linux Enterprise High Performance Computing
Operating systems & Components / Operating system

SUSE Enterprise Storage
Operating systems & Components / Operating system

SUSE CaaS Platform
Operating systems & Components / Operating system

SUSE Linux Enterprise Server
Operating systems & Components / Operating system

typelib-1_0-Flatpak-1_0
Operating systems & Components / Operating system package or component

libflatpak0-debuginfo
Operating systems & Components / Operating system package or component

libflatpak0
Operating systems & Components / Operating system package or component

flatpak-zsh-completion
Operating systems & Components / Operating system package or component

flatpak-devel
Operating systems & Components / Operating system package or component

flatpak-debugsource
Operating systems & Components / Operating system package or component

flatpak-debuginfo
Operating systems & Components / Operating system package or component

flatpak
Operating systems & Components / Operating system package or component

Vendor SUSE

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Code Injection

EUVDB-ID: #VU49587

Risk: Low

CVSSv3.1: 7.7 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-21261

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a local application to elevate privileges on the system.

The vulnerability exists due to improper input validation when processing environment variables, passed from a sandboxed process to a non-sandboxed process on the host system, and in particular to the `flatpak run` command that is used to launch the new sandbox instance. A malicious or compromised Flatpak app can set environment variables that are trusted by the `flatpak run` command, and use them to execute arbitrary code that is not in a sandbox.

Mitigation

Update the affected package flatpak to the latest version.

Vulnerable software versions

SUSE Linux Enterprise Server for SAP: 15-SP1

SUSE Linux Enterprise High Performance Computing: 15-SP1-ESPOS - 15-SP1-LTSS

SUSE Enterprise Storage: 6

SUSE CaaS Platform: 4.0

SUSE Linux Enterprise Server: 15-SP1-BCL - 15-SP1-LTSS

typelib-1_0-Flatpak-1_0: before 1.2.3-150100.4.5.2

libflatpak0-debuginfo: before 1.2.3-150100.4.5.2

libflatpak0: before 1.2.3-150100.4.5.2

flatpak-zsh-completion: before 1.2.3-150100.4.5.2

flatpak-devel: before 1.2.3-150100.4.5.2

flatpak-debugsource: before 1.2.3-150100.4.5.2

flatpak-debuginfo: before 1.2.3-150100.4.5.2

flatpak: before 1.2.3-150100.4.5.2

External links

http://www.suse.com/support/update/announcement/2022/suse-su-20222990-1/


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Improper Neutralization of Special Elements in Output Used by a Downstream Component

EUVDB-ID: #VU51443

Risk: Medium

CVSSv3.1: 4.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-21381

CWE-ID: CWE-74 - Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to improper input validation within the "file forwarding" feature. 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.

Mitigation

Update the affected package flatpak to the latest version.

Vulnerable software versions

SUSE Linux Enterprise Server for SAP: 15-SP1

SUSE Linux Enterprise High Performance Computing: 15-SP1-ESPOS - 15-SP1-LTSS

SUSE Enterprise Storage: 6

SUSE CaaS Platform: 4.0

SUSE Linux Enterprise Server: 15-SP1-BCL - 15-SP1-LTSS

typelib-1_0-Flatpak-1_0: before 1.2.3-150100.4.5.2

libflatpak0-debuginfo: before 1.2.3-150100.4.5.2

libflatpak0: before 1.2.3-150100.4.5.2

flatpak-zsh-completion: before 1.2.3-150100.4.5.2

flatpak-devel: before 1.2.3-150100.4.5.2

flatpak-debugsource: before 1.2.3-150100.4.5.2

flatpak-debuginfo: before 1.2.3-150100.4.5.2

flatpak: before 1.2.3-150100.4.5.2

External links

http://www.suse.com/support/update/announcement/2022/suse-su-20222990-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###