Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GHSA-rprw-h62v-c2w7] PyYAML insecurely deserializes YAML strings leading to arbitrary code execution #638

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -1,50 +1,28 @@
{
"schema_version": "1.2.0",
"id": "GHSA-rprw-h62v-c2w7",
"modified": "2022-07-18T19:40:16Z",
"modified": "2022-09-04T16:03:24Z",
"published": "2019-01-04T17:45:26Z",
"aliases": [
"CVE-2017-18342"
],
"summary": "PyYAML insecurely deserializes YAML strings leading to arbitrary code execution",
"details": "In PyYAML before 4.1, the yaml.load() API could execute arbitrary code. In other words, yaml.safe_load is not used.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}

],
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "PyYAML"
},
"ecosystem_specific": {
"affected_functions": [
"yaml.load",
"yaml.dump",
"safe_dump_all",
"safe_dump",
"yaml.CSafeLoader",
"yaml.CLoader",
"yaml.CSafeDumper",
"yaml.CDumper",
"yaml.SafeDumper",
"yaml.Dumper",
"yaml.SafeLoader",
"yaml.Loader"
]
"name": ""
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.1"
}
]
}
Expand Down Expand Up @@ -101,7 +79,7 @@
"cwe_ids": [
"CWE-502"
],
"severity": "CRITICAL",
"severity": "LOW",
"github_reviewed": true
}
}