CVE-2021-21371
JSON

5.0medium

Execution of untrusted code through config file

Severity
5.0medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.45% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-8278-88vv-x98rPYSEC-2021-60

Description

Tenable for Jira Cloud is an open source project designed to pull Tenable.io vulnerability data, then generate Jira Tasks and sub-tasks based on the vulnerabilities' current state. It published in pypi as "tenable-jira-cloud". In tenable-jira-cloud before version 1.1.21, 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. This is fixed in version 1.1.21 by using yaml.safe_load() instead of yaml.load().

Affected

Product or packageVersionsReported by
tenable integration-jira-cloud< 1.1.21CVE List
tenable-jira-cloud (PyPI)before 1.1.21, before f8c2095fd529e664e7fa25403a0a4a85bb3907d0, before 1.1.22GitHub Advisory Database, PyPA Advisory Database
tenable jira_cloudbefore 1.1.21NVD

All scores

GitHub_M5.0medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub5.0medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
NVD8.6high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
NVD4.6medium CVSS:2.0AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

Tenable for Jira Cloud is an open source project designed to pull Tenable.io vulnerability data, then generate Jira Tasks and sub-tasks based on the vulnerabilities' current state. It published in pypi as "tenable-jira-cloud". In tenable-jira-cloud before version 1.1.21, 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. This is fixed in version 1.1.21 by using yaml.safe_load() instead of yaml.load().

GitHub Advisory Database
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:

NVD (es)

Tenable para Jira Cloud es un proyecto de código abierto diseñado para extraer datos de vulnerabilidad de Tenable.io y luego generar Tareas y subtareas de Jira en función del estado actual de las vulnerabilidades.&#xa0;Se publicó en pypi como "tenable-jira-cloud".&#xa0;En tenable-jira-cloud versiones anteriores a 1.1.21, es posible ejecutar comandos arbitrarios por medio del método yaml.load().&#xa0;Esto podría permitir a un atacante con acceso local al host ejecutar código arbitrario ejecutando la aplicación con un archivo de configuración YAML especialmente diseñado.&#xa0;Esto se corrige en la versión 1.1.21 usando la función yaml.safe_load() en lugar de la función yaml.load()

References

Sources

SourceRecordLicence
CVE ListCVE-2021-21371 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-8278-88vv-x98r changed 2026-09-10CC-BY-4.0
NVDCVE-2021-21371 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2021-60 changed 2023-11-08CC-BY-4.0