tenable/integration-jira-cloud · Security

Execution of untrusted code through config file

GHSA ID
GHSA-8278-88vv-x98r
CVE ID
CVE-2021-21371
Severity
medium
Published
Updated
CVSS
5 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v3
5 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4
4.6 · CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Description

Impact

It is possible to run arbitrary commands through the yaml.load() method. This could allow an attacker with local access to the host to run arbitrary code by running the application with a specially crafted YAML configuration file.

Workarounds

Manually adjust yaml.load() to yaml.safe_load()

For more information

If you have any questions or comments about this advisory:

CWEs

References