Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. glib
  4. ›
  5. CVE-2021-27219

CVE-2021-27219: Incorrect Conversion between Numeric Types

February 15, 2021 (updated November 9, 2023)

An issue was discovered in GNOME GLib The function g_bytes_new has an integer overflow on platforms due to an implicit cast from bits to bits. The overflow could potentially lead to memory corruption.

References

  • gitlab.gnome.org/GNOME/glib/-/issues/2319
  • nvd.nist.gov/vuln/detail/CVE-2021-27219

Code Behaviors & Features

Detect and mitigate CVE-2021-27219 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 2.66.6, all versions starting from 2.67.0 before 2.67.3

Fixed versions

  • 2.68.3

Solution

Upgrade to version 2.68.3 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-681: Incorrect Conversion between Numeric Types

Source file

conan/glib/CVE-2021-27219.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:50 +0000.