{"id":"CVE-2021-23338","aliases":["EUVD-2021-0209","GHSA-hjr4-fhgp-23g9","PYSEC-2021-86","SNYK-PYTHON-QLIB-1054635"],"status":"published","title":"Deserialization of Untrusted Data","description":"This affects all versions of package qlib. The workflow function in cli part of qlib was using an unsafe YAML load function.","severity":{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.03945,"percentile":0.90553,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-502","CWE-94"],"published":"2021-02-15T15:50:15Z","modified":"2026-06-17T03:38:34Z","fixes":[{"ecosystem":"PyPI","package":"pyqlib","fixed_in":["0.7.0","0.6.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"pyqlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"pyqlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}],"versions":["0.5.0.dev10","0.5.0.dev7","0.5.0.dev8","0.5.0.dev9","0.5.1","0.5.1.dev0","0.6.0","0.6.1","0.6.2"]},{"source":"osv","ecosystem":"PyPI","package":"pyqlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.3"}]}],"versions":["0.5.0.dev10","0.5.0.dev7","0.5.0.dev8","0.5.0.dev9","0.5.1","0.5.1.dev0","0.6.0","0.6.1","0.6.2"]}],"products":[{"vendor":"microsoft","product":"qlib"}],"references":[{"url":"https://snyk.io/vuln/SNYK-PYTHON-QLIB-1054635","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web","advisory"]},{"url":"https://github.com/418sec/huntr/pull/1329","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23338","tags":["advisory"]},{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-PYQLIB-1085990","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyqlib/PYSEC-2021-86.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hjr4-fhgp-23g9","tags":["advisory"]},{"url":"https://github.com/microsoft/qlib","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-23338","title":"Deserialization of Untrusted Data","description":"This affects all versions of package qlib. The workflow function in cli part of qlib was using an unsafe YAML load function.","status":"published","published":"2021-02-15T15:50:15.795Z","modified":"2024-09-16T17:49:26.778Z","cvss":[{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:33:00.819444Z"}],"euvd":[{"id":"EUVD-2021-0209","description":"This affects all versions of package qlib. The workflow function in cli part of qlib was using an unsafe YAML load function.","status":"published","published":"2021-02-15T15:50:15Z","modified":"2024-09-16T17:49:26Z","cvss":[{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C","level":"medium"}],"updated_at":"2026-11-03T00:55:38.288771Z"}],"ghsa":[{"id":"GHSA-hjr4-fhgp-23g9","title":"qlib Deserialization of Untrusted Data vulnerability","description":"This affects all versions of package qlib. The workflow function in cli part of qlib was using an unsafe YAML load function.","status":"published","published":"2022-05-24T17:42:16Z","modified":"2024-10-14T16:09:47Z","cvss":[{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"cwes":["CWE-94","CWE-502"],"updated_at":"2026-11-02T14:38:10.696798Z"}],"nvd":[{"id":"CVE-2021-23338","description":"This affects all versions of package qlib. The workflow function in cli part of qlib was using an unsafe YAML load function.","status":"published","published":"2021-02-15T16:15:15.263Z","modified":"2026-06-17T03:38:34.94Z","cvss":[{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:06:50.031227Z"}],"osv":[{"id":"GHSA-hjr4-fhgp-23g9","title":"qlib Deserialization of Untrusted Data vulnerability","description":"This affects all versions of package qlib. The workflow function in cli part of qlib was using an unsafe YAML load function.","status":"published","published":"2022-05-24T17:42:16Z","modified":"2024-10-14T18:38:35.640542Z","cvss":[{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"cwes":["CWE-502","CWE-94"],"updated_at":"2026-11-02T15:46:49.28217Z"},{"id":"PYSEC-2021-86","description":"This affects all versions of package qlib. The workflow function in cli part of qlib was using an unsafe YAML load function.","status":"published","published":"2021-02-15T16:15:00Z","modified":"2026-06-10T17:01:46.1031118Z","updated_at":"2026-11-02T15:52:53.449407Z"}]}}
