PyPi: Encapsia-Cli

CVE-2022-24737

Transitive

Safety vulnerability ID: 52522

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Mar 07, 2022 Updated at Sep 09, 2024
Scan your Python projects for vulnerabilities →

Advisory

Encapsia-cli 0.5.2 updates its dependency 'httpie' requirement to ^3.1.0 to include security fixes.

Affected package

encapsia-cli

Latest version: 0.5.12

Client CLI for talking to an Encapsia system.

Affected versions

Fixed versions

Vulnerability changelog

Fixed

- Fixed error if variant is specified in encapsia plugin uninstall. 78
- Fixed misleading "Key Error" when credentials are wrong (should be 401 Unauthorized)
75
- Fixed installing plugin using file path. 76.
- `plugins add` will now abort if it cannot find some of the requested specs in S3
- Clocked several dependencies patching vulnerabilities and other issues.
- Replaced implementation using `tarfile.extractall` of `encapsia plugins ls`, that is
vulnerable to a path traversal attack. See
https://github.com/python/cpython/issues/73974 and
https://www.trellix.com/en-us/about/newsroom/stories/research/tarfile-exploiting-the-world.html

Added

- Support for adding to local_store groups of plugins with one command. 87.
- Support for installing groups of plugins with one command. 87.
- A new `token transfer` subcommand, allowing to obtain a token for a different user (current user's credentials permitting) and printing it out as plain text or shell command setting encapsia environment variables.
- A new `token env` subcommand that just prints out shell commands to set environment variables `ENCAPSIA_URL` and `ENCAPSIA_TOKEN`.

Changed

- Display a message when a config get key is missing, instead of a traceback. 62.
- Replaced request to deprecated pluginsmanager API. 79.
- The `token extend` subcommand gained ability to display extended token (both as plain text or as shell commands setting environment), instead of storing in credentials file.
- The `token extend` now allows you to set capabilities (as a subset of existing capabilities).

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 6.5

CVSS v3 Details

MEDIUM 6.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
REQUIRED
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
NONE
Availability Availability (A)
NONE

CVSS v2 Details

MEDIUM 4.3
Access Vector (AV)
NETWORK
Access Complexity (AC)
MEDIUM
Authentication (Au)
NONE
Confidentiality Impact (C)
PARTIAL
Integrity Impact (I)
NONE
Availability Impact (A)
NONE