CVE-2017-2810
python-tablib: Databook loading functionality allows command execution
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (low), Ubuntu (low).
Description
An exploitable vulnerability exists in the Databook loading functionality of Tablib 0.11.4. A yaml loaded Databook can execute arbitrary python commands resulting in command execution. An attacker can insert python into loaded yaml to trigger this vulnerability.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | tablib | 0.11.5 |
| debian 11 | python-tablib | 0.9.11-3 |
| debian 12 | python-tablib | 0.9.11-3 |
| debian 13 | python-tablib | 0.9.11-3 |
| debian 14 | python-tablib | 0.9.11-3 |
| debian 8 | python-tablib | 0.9.11-2+deb8u1 |
| debian 9 | python-tablib | 0.9.11-2+deb8u1 |
| echo | python-tablib | 0.9.11-3 |
| Red Hat | python-tablib | no fix listed |
| ubuntu 16.04 | python-tablib | 0.9.11-2+deb9u1build0.16.04.1 |
| ubuntu 16.04-ESM | python-tablib | 0.9.11-2+deb9u1build0.16.04.1 |
References
- http://www.securityfocus.com/bid/99076
- https://access.redhat.com/security/cve/CVE-2017-2810
- https://github.com/advisories/GHSA-gcr6-rf47-jrgf
- https://github.com/jazzband/tablib
- https://github.com/jazzband/tablib/commit/69abfc3ada5d754cb152119c0b4777043657cb6e
- https://github.com/pypa/advisory-database/tree/main/vulns/tablib/PYSEC-2017-95.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2017-2810
- https://security.gentoo.org/glsa/201811-18