CVE-2023-49297
published low CVSS 3.1 · 3.3Unsafe YAML deserialization in PyDrive2
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| iterative | — | PyDrive2< 1.16.2 · = 1.17.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-pydrive2aarch64 | Advisory build | 1.16.2-1.1 | OPENSUSE-SU-2024:13493-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-pydrive2ppc64le | Advisory build | 1.16.2-1.1 | OPENSUSE-SU-2024:13493-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-pydrive2s390x | Advisory build | 1.16.2-1.1 | OPENSUSE-SU-2024:13493-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-pydrive2x86_64 | Advisory build | 1.16.2-1.1 | OPENSUSE-SU-2024:13493-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pydrive2aarch64 | Advisory build | 1.16.2-1.1 | OPENSUSE-SU-2024:13493-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pydrive2ppc64le | Advisory build | 1.16.2-1.1 | OPENSUSE-SU-2024:13493-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pydrive2s390x | Advisory build | 1.16.2-1.1 | OPENSUSE-SU-2024:13493-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pydrive2x86_64 | Advisory build | 1.16.2-1.1 | OPENSUSE-SU-2024:13493-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pydrive2aarch64 | Advisory build | 1.18.1-2.4 | OPENSUSE-SU-2026:12030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pydrive2ppc64le | Advisory build | 1.18.1-2.4 | OPENSUSE-SU-2026:12030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pydrive2s390x | Advisory build | 1.18.1-2.4 | OPENSUSE-SU-2026:12030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pydrive2x86_64 | Advisory build | 1.18.1-2.4 | OPENSUSE-SU-2026:12030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pydrive2aarch64 | Advisory build | 1.18.1-2.4 | OPENSUSE-SU-2026:12030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pydrive2ppc64le | Advisory build | 1.18.1-2.4 | OPENSUSE-SU-2026:12030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pydrive2s390x | Advisory build | 1.18.1-2.4 | OPENSUSE-SU-2026:12030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pydrive2x86_64 | Advisory build | 1.18.1-2.4 | OPENSUSE-SU-2026:12030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-pydrive2aarch64 | Advisory build | 1.16.2-1.1 | OPENSUSE-SU-2024:13493-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-pydrive2ppc64le | Advisory build | 1.16.2-1.1 | OPENSUSE-SU-2024:13493-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-pydrive2s390x | Advisory build | 1.16.2-1.1 | OPENSUSE-SU-2024:13493-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-pydrive2x86_64 | Advisory build | 1.16.2-1.1 | OPENSUSE-SU-2024:13493-1 |
Description
PyDrive2 is a wrapper library of google-api-python-client that simplifies many common Google Drive API V2 tasks. Unsafe YAML deserilization will result in arbitrary code execution. A maliciously crafted YAML file can cause arbitrary code execution if PyDrive2 is run in the same directory as it, or if it is loaded in via `LoadSettingsFile`. This is a deserilization attack that will affect any user who initializes GoogleAuth from this package while a malicious yaml file is present in the same directory. This vulnerability does not require the file to be directly loaded through the code, only present. This issue has been addressed in commit `c57355dc` which is included in release version `1.16.2`. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.3 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| iterative | PyDrive2 | < 1.16.2 (affected)= 1.17.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-502 CWE-502: Deserialization of Untrusted Data
References
4- https://github.com/iterative/PyDrive2/commit/c57355dc2033ad90b7050d681b2c3ba548ff0004
- https://github.com/iterative/PyDrive2/security/advisories/GHSA-v5f6-hjmf-9mc5
- https://lists.fedoraproject.org/archives/list/[email protected]/message/CYR5SJKOFSSXFV3E3D2SLXBUBA5WMJJG/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/K34YWTDKBAYWZPOAKBYDM72WIFL5CAYW/
Provider assertions
2GitHub_M · cna
Unsafe YAML deserialization in PyDrive2
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 80166e32ac67538192d1b83c1d81edca2433f25e307bae74b6845b26513116c4
- Ingested
- 23 Sep 2026, 08:13:25 UTC
- Source record
- Official CVE record