The yaml_parser_scan_tag_uri function in scanner.c in LibYAML before 0.1.5 performs an incorrect cast, which allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via crafted tags in a YAML document, which triggers a heap-based buffer overflow.
CVSS 2.0
Severity: MEDIUM
Problem Type: CWE-119,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| opensuse | opensuse | 11.4 |
| opensuse | leap | 42.1 |
| pyyaml | libyaml | 0.0.1 |
| debian | debian_linux | 7.0 |
| opensuse | opensuse | 13.1 |
| pyyaml | libyaml | 0.1.3 |
| canonical | ubuntu_linux | 12.04 |
| pyyaml | libyaml | 0.1.2 |
| pyyaml | libyaml | 0.1.1 |
| pyyaml | libyaml | * |
| redhat | openstack | 3.0 |
| opensuse | opensuse | 13.2 |
| canonical | ubuntu_linux | 13.10 |
| redhat | openstack | 4.0 |
| debian | debian_linux | 6.0 |
| canonical | ubuntu_linux | 12.10 |
Heap-based buffer overflow in the yaml_parser_scan_uri_escapes function in LibYAML before 0.1.6 allows context-dependent attackers to execute arbitrary code via a long sequence of percent-encoded characters in a URI in a YAML file.
CVSS 2.0
Severity: MEDIUM
Problem Type: CWE-119,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| opensuse | leap | 42.1 |
| pyyaml | libyaml | * |
| pyyaml | libyaml | 0.0.1 |
| opensuse | opensuse | 13.1 |
| opensuse | opensuse | 13.2 |
| pyyaml | libyaml | 0.1.3 |
| pyyaml | libyaml | 0.1.2 |
| pyyaml | libyaml | 0.1.4 |
| pyyaml | libyaml | 0.1.1 |
scanner.c in LibYAML 0.1.5 and 0.1.6, as used in the YAML-LibYAML (aka YAML-XS) module for Perl, allows context-dependent attackers to cause a denial of service (assertion failure and crash) via vectors involving line-wrapping.
CVSS 2.0
Severity: MEDIUM
Problem Type: CWE-20,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| pyyaml | libyaml | 0.1.5 |
| pyyaml | libyaml | 0.1.6 |
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.
CVSS 3.x
| Source | Score | Severity | Vector | Exploitability | Impact |
|---|---|---|---|---|---|
| nvd@nist.gov | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | 3.9 | 5.9 |
CVSS 2.0
Severity: HIGH
Problem Type: CWE-502,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| fedoraproject | fedora | 30 |
| fedoraproject | fedora | 29 |
| fedoraproject | fedora | 28 |
| pyyaml | pyyaml | * |