
Catalogo CVE
CVE-2017-18342
pyyaml: CVE-2017-18342
- Gravità
- High · CVSS 7.4
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 5.66% · Oct 22, 2026
In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward compatibility with the function.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pyyaml | sid | 6.0.3-1 | fixed |
| Debian | pyyaml | forky | 6.0.3-1 | fixed |
| Debian | pyyaml | trixie | 6.0.2-1 | fixed |
| Debian | pyyaml | bookworm | 6.0-3 | fixed |
| Opensuse | python-PyYAML | tumbleweed | 6.0.3-1.6 | fixed |
| Opensuse | python-openapi-spec-validator | tumbleweed | 0.9.0-1.1 | fixed |
| Opensuse | python-PyYAML | tumbleweed | 5.4.1-1.6 | fixed |
| Opensuse | oci-cli | tumbleweed | 3.0.2-1.2 | fixed |
| Opensuse | python-openapi-spec-validator | tumbleweed | 0.7.1-1.3 | fixed |
| Opensuse | python-PyYAML | tumbleweed | 6.0.1-4.1 | fixed |
| Ubuntu | pyyaml | 14.04 | 3.10-4build2 | vulnerable |
| Ubuntu | pyyaml | 14.04 | 3.10-4build3 | vulnerable |
| Ubuntu | pyyaml | 14.04 | 3.10-4build4 | vulnerable |
| Ubuntu | pyyaml | 14.04 | 3.10-4ubuntu0.1 | vulnerable |
| Ubuntu | pyyaml | 16.04 | 3.11-2build1 | vulnerable |
| Ubuntu | pyyaml | 16.04 | 3.11-3 | vulnerable |
| Ubuntu | pyyaml | 16.04 | 3.11-3build1 | vulnerable |
| Ubuntu | pyyaml | 18.04 | 3.12-1build2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pyyaml | source | sid | 5.1.2-1 | unimportant | Not reported | [902878] |
| Debian | pyyaml | source | forky | 5.1.2-1 | unimportant | Not reported | [902878] |
| Debian | pyyaml | source | trixie | 5.1.2-1 | unimportant | Not reported | [902878] |
| Debian | pyyaml | source | bookworm | 5.1.2-1 | unimportant | Not reported | [902878] |
| Opensuse | python-PyYAML | rpm | tumbleweed | 6.0.3-1.6 | Not reported | OPENSUSE-SU-2026:11996-1 | Not reported |
| Opensuse | python-openapi-spec-validator | rpm | tumbleweed | 0.9.0-1.1 | Not reported | OPENSUSE-SU-2026:11192-1 | Not reported |
| Opensuse | python-PyYAML | rpm | tumbleweed | 5.4.1-1.6 | Not reported | OPENSUSE-SU-2024:11210-1 | Not reported |
| Opensuse | oci-cli | rpm | tumbleweed | 3.0.2-1.2 | Not reported | OPENSUSE-SU-2024:11108-1 | Not reported |
| Opensuse | python-openapi-spec-validator | rpm | tumbleweed | 0.7.1-1.3 | Not reported | OPENSUSE-SU-2024:14152-1 | Not reported |
| Opensuse | python-PyYAML | rpm | tumbleweed | 6.0.1-4.1 | Not reported | OPENSUSE-SU-2024:14089-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [python313-openapi-spec-validator]Sconosciuto
Pacchetto sorgente: [python-openapi-spec-validator]
Dettagli (1)
0.9.0-1.1· noarch · tumbleweedSconosciuto · Corretta:
0.7.1-1.3, 0.9.0-1.1Version impact unknown
dsa · python-openapi-spec-validator · opensuse · tumbleweed
- [python313-PyYAML]Sconosciuto
Pacchetto sorgente: [python-PyYAML]
Dettagli (1)
6.0.3-1.6· x86_64 · tumbleweedSconosciuto · Corretta:
5.4.1-1.6, 6.0.1-4.1, 6.0.3-1.6Version impact unknown
dsa · python-PyYAML · opensuse · tumbleweed
- [python314-openapi-spec-validator]Sconosciuto
Pacchetto sorgente: [python-openapi-spec-validator]
Dettagli (1)
0.9.0-1.1· noarch · tumbleweedSconosciuto · Corretta:
0.7.1-1.3, 0.9.0-1.1Version impact unknown
dsa · python-openapi-spec-validator · opensuse · tumbleweed
- [python314-PyYAML]Sconosciuto
Pacchetto sorgente: [python-PyYAML]
Dettagli (1)
6.0.3-1.6· x86_64 · tumbleweedSconosciuto · Corretta:
5.4.1-1.6, 6.0.1-4.1, 6.0.3-1.6Version impact unknown
dsa · python-PyYAML · opensuse · tumbleweed
- [oci-cli]Corretta
Pacchetto sorgente: [oci-cli]
Dettagli (1)
3.83.0-1.2· noarch · tumbleweedCorretta · Corretta:
3.0.2-1.2dsa · oci-cli · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [python3-yaml]Corretta
Pacchetto sorgente: [pyyaml]
Dettagli (2)
6.0-3+b2· amd64 · bookwormCorretta · Corretta:
5.1.2-1dsa · pyyaml · debian · bookworm; dsa · pyyaml · debian · 12
6.0-3+b2· arm64 · bookwormCorretta · Corretta:
5.1.2-1dsa · pyyaml · debian · bookworm; dsa · pyyaml · debian · 12
[Debian 13 (Trixie)]
- [python3-yaml]Corretta
Pacchetto sorgente: [pyyaml]
Dettagli (2)
6.0.2-1+b2· amd64 · trixieCorretta · Corretta:
5.1.2-1dsa · pyyaml · debian · 13
6.0.2-1+b2· arm64 · trixieCorretta · Corretta:
5.1.2-1dsa · pyyaml · debian · 13
Osservato:
Riferimenti
- [https://ftp.suse.com/pub/projects/security/]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2017-18342]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2017-18342]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11108-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11210-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14089-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14152-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11192-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11996-1]
- [https://security-tracker.debian.org/tracker/CVE-2017-18342]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0054.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]