PyYAML through 6.0.4 CPU Denial of Service via Sexagesimal Integer Construction
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| PyYAMLPyYAML |
≤ 6.0.4→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
PyYAML through 6.0.4 contains a denial of service vulnerability in SafeConstructor.construct_yaml_int() that allows remote attackers to exhaust CPU by supplying unbounded base-60 integer scalars. Attackers can submit a YAML document with a scalar containing many colon-separated groups to safe_load, SafeLoader, CSafeLoader or FullLoader, causing quadratic-time construction that blocks the parsing thread.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com