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 package | Versions | Reported by |
|---|---|---|
| tenable integration-jira-cloud | < 1.1.21 | CVE List |
| tenable-jira-cloud (PyPI) | before 1.1.21, before f8c2095fd529e664e7fa25403a0a4a85bb3907d0, before 1.1.22 | GitHub Advisory Database, PyPA Advisory Database |
| tenable jira_cloud | before 1.1.21 | NVD |
All scores
| GitHub_M | 5.0medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 5.0medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | medium CVSS:4.0 | 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 |
| NVD | 8.6high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | 4.6medium CVSS:2.0 | AV: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:
- Open an issue in tenable/integration-jira-cloud
- Email us at vulnreport@tenable.com
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. Se publicó en pypi como "tenable-jira-cloud". En tenable-jira-cloud versiones anteriores a 1.1.21, es posible ejecutar comandos arbitrarios por medio del método yaml.load(). 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. 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
| https://github.com/tenable/integration-jira-cloud/security/advisories/GHSA-8278-88vv-x98r | advisory, third-party-advisory, web | |
| https://github.com/tenable/integration-jira-cloud/commit/f8c2095fd529e664e7fa25403a0a4a85bb3907d0 | fix, patch, third-party-advisory, web | |
| https://pypi.org/project/tenable-jira-cloud/ | package, product, third-party-advisory | |
| https://pyyaml.docsforge.com/master/documentation/#loading-yaml | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-21371 | advisory | |
| https://github.com/pypa/advisory-database/tree/main/vulns/tenable-jira-cloud/PYSEC-2021-60.yaml | web | |
| https://github.com/tenable/integration-jira-cloud | package | |
| https://pypi.org/project/tenable-jira-cloud | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21371 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8278-88vv-x98r changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-21371 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2021-60 changed 2023-11-08 | CC-BY-4.0 |