Vulnerability · Published Mar 10, 2021 · Assigned by GitHub_M
CVE-2021-21371Execution of untrusted code through config file
Medium 5.0
In plain English
A medium-severity unsafe deserialization in integration-jira-cloud from tenable. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | tenable-jira-cloud | 1.1.21 | GHSA-8278-88vv-x98r |
| PyPI | tenable-jira-cloud | 1.1.22 | PYSEC-2021-60 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| tenable | integration-jira-cloud | < 1.1.21 |
Weakness: CWE-502 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/tenable/integration-jira-cloud/security/advisories/GHSA-8278-88vv-x98r x_refsource_CONFIRM
- https://github.com/tenable/integration-jira-cloud/commit/f8c2095fd529e664e7fa25403a0a4a85bb3907d0 x_refsource_MISC
- https://pypi.org/project/tenable-jira-cloud/ x_refsource_MISC
- https://pyyaml.docsforge.com/master/documentation/#loading-yaml x_refsource_MISC