Information Exposure Through Log Files Affecting ops package, versions [2.0.0,2.15.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.04% (11th 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-PYTHON-OPS-7548218
  • published 23 Jul 2024
  • disclosed 22 Jul 2024
  • credit phvalguima

How to fix?

Upgrade ops to version 2.15.0 or higher.

Overview

ops is a The Python library behind great charms

Affected versions of this package are vulnerable to Information Exposure Through Log Files through the handling of errors in subprocess.CalledProcessError when executing CLI commands that include sensitive information. An attacker can gain access to sensitive data by exploiting the logging of error details which include secret values.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
6.7 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    High
  • Integrity (VI)
    None
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None