Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pyqlib
  4. ›
  5. CVE-2021-23338

CVE-2021-23338: qlib Deserialization of Untrusted Data vulnerability

May 24, 2022 (updated October 14, 2024)

This affects all versions of package qlib. The workflow function in cli part of qlib was using an unsafe YAML load function.

References

  • github.com/418sec/huntr/pull/1329
  • github.com/advisories/GHSA-hjr4-fhgp-23g9
  • github.com/microsoft/qlib
  • github.com/pypa/advisory-database/tree/main/vulns/pyqlib/PYSEC-2021-86.yaml
  • nvd.nist.gov/vuln/detail/CVE-2021-23338
  • security.snyk.io/vuln/SNYK-PYTHON-PYQLIB-1085990
  • snyk.io/vuln/SNYK-PYTHON-QLIB-1054635

Code Behaviors & Features

Detect and mitigate CVE-2021-23338 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.7.0

Fixed versions

  • 0.7.0

Solution

Upgrade to version 0.7.0 or above.

Impact 7.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/pyqlib/CVE-2021-23338.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:39 +0000.