Debian update for flatpak



Published: 2022-01-25 | Updated: 2022-02-03
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2021-43860
CVE-2022-21682
CWE-ID CWE-264
CWE-22
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
flatpak (Debian package)
Operating systems & Components / Operating system package or component

Vendor Debian

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Permissions, Privileges, and Access Controls

EUVDB-ID: #VU59654

Risk: Medium

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

CVE-ID: CVE-2021-43860

CWE-ID: CWE-264 - Permissions, Privileges, and Access Controls

Exploit availability: No

Description

The vulnerability allows a remote attacker to escalate privileges on the system.

The vulnerability exists due to application does not 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, which leads to security restrictions bypass and privilege escalation.

Mitigation

Update flatpak package to version 1.10.7-0+deb11u1.

Vulnerable software versions

flatpak (Debian package): 1.2.5-0+deb10u1 - 1.10.5-0+deb11u1


CPE2.3 External links

http://www.debian.org/security/2022/dsa-5049

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.

2) Path traversal

EUVDB-ID: #VU59689

Risk: Medium

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

CVE-ID: CVE-2022-21682

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when flatpak-builder applies "finish-args" last in the build. A remote authenticated attacker can send a specially crafted HTTP request and create arbitrary files on the system.

Mitigation

Update flatpak package to version 1.10.7-0+deb11u1.

Vulnerable software versions

flatpak (Debian package): 1.2.5-0+deb10u1 - 1.10.5-0+deb11u1


CPE2.3 External links

http://www.debian.org/security/2022/dsa-5049

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###