Incorrect Privilege Assignment Affecting flatpak-builder package, versions <0:1.0.0-5.el7_6


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.21% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Privilege Assignment vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-FLATPAKBUILDER-2134667
  • published26 Jul 2021
  • disclosed22 Mar 2019

Introduced: 22 Mar 2019

CVE-2019-10063  (opens in a new tab)
CWE-266  (opens in a new tab)

How to fix?

Upgrade Centos:7 flatpak-builder to version 0:1.0.0-5.el7_6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream flatpak-builder package and not the flatpak-builder package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

Flatpak before 1.0.8, 1.1.x and 1.2.x before 1.2.4, and 1.3.x before 1.3.1 allows a sandbox bypass. Flatpak versions since 0.8.1 address CVE-2017-5226 by using a seccomp filter to prevent sandboxed apps from using the TIOCSTI ioctl, which could otherwise be used to inject commands into the controlling terminal so that they would be executed outside the sandbox after the sandboxed app exits. This fix was incomplete: on 64-bit platforms, the seccomp filter could be bypassed by an ioctl request number that has TIOCSTI in its 32 least significant bits and an arbitrary nonzero value in its 32 most significant bits, which the Linux kernel would treat as equivalent to TIOCSTI.