OS Command Injection Affecting docker-bash-completion package, versions <18.09.6_ce-6.17.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating

    Threat Intelligence

    Exploit Maturity
    Mature
    EPSS
    0.43% (75th 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 ID SNYK-SLES151-DOCKERBASHCOMPLETION-2751125
  • published 14 Apr 2022
  • disclosed 13 Jun 2019

How to fix?

Upgrade SLES:15.1 docker-bash-completion to version 18.09.6_ce-6.17.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream docker-bash-completion package and not the docker-bash-completion package as distributed by SLES. See How to fix? for SLES:15.1 relevant fixed versions and status.

runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, allows attackers to overwrite the host runc binary (and consequently obtain host root access) by leveraging the ability to execute a command as root within one of these types of containers: (1) a new container with an attacker-controlled image, or (2) an existing container, to which the attacker previously had write access, that can be attached with docker exec. This occurs because of file-descriptor mishandling, related to /proc/self/exe.

References

CVSS Scores

version 3.1
Expand this section

NVD

8.6 high
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High