{"id":"CVE-2021-23338","aliases":["CVE-2021-23338","GHSA-hjr4-fhgp-23g9","PYSEC-2021-86","SNYK-PYTHON-QLIB-1054635"],"related":[],"kind":"vulnerability","state":"published","title":"Deserialization of Untrusted Data","summary":"This affects all versions of package qlib. The workflow function in cli part of qlib was using an unsafe YAML load function.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This affects all versions of package qlib. The workflow function in cli part of qlib was using an unsafe YAML load function.","source":"cvelist"},{"lang":"es","text":"Esto afecta a todas las versiones del paquete qlib.&#xa0;La función workflow en parte de la cli de qlib estaba usando una función de carga YAML no segura","source":"nvd"}],"published":"2021-02-15T15:50:15.795Z","modified":"2026-06-17T03:38:34.940Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","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","score":6.6,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","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","score":6.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-94","CWE-502"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"qlib","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.7.0"}],"ecosystem":"PyPI","package":"pyqlib","purl":"pkg:pypi/pyqlib","source":"ghsa"},{"ranges":[],"vendor":"microsoft","product":"qlib","cpe":"cpe:2.3:a:microsoft:qlib:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.6.3"}],"ecosystem":"PyPI","package":"pyqlib","purl":"pkg:pypi/pyqlib","source":"pysec"}],"references":[{"url":"https://snyk.io/vuln/SNYK-PYTHON-QLIB-1054635","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/418sec/huntr/pull/1329","tags":["exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23338","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/microsoft/qlib","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyqlib/PYSEC-2021-86.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-PYQLIB-1085990","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-hjr4-fhgp-23g9","tags":["advisory"],"sources":["pysec"]}],"credits":["Ajmal Aboobacker"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23338","url":"https://www.cve.org/CVERecord?id=CVE-2021-23338","licence":"CVE Terms of Use","modified":"2024-09-16T17:49:26.778Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hjr4-fhgp-23g9","url":"https://github.com/advisories/GHSA-hjr4-fhgp-23g9","licence":"CC-BY-4.0","modified":"2024-10-14T18:38:35.640Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23338","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23338","licence":"Public domain","modified":"2026-06-17T03:38:34.940Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-86","url":"https://osv.dev/vulnerability/PYSEC-2021-86","licence":"CC-BY-4.0","modified":"2026-06-10T17:01:46.103Z"}],"updatedAt":"2026-11-25T22:57:59.951Z","epss":{"score":0.03945,"percentile":0.90661,"date":"2026-12-01T12:00:22.000Z"}}