CWE
91 125
Advisory Published
Updated

CVE-2023-22485: cmark-gfm out-of-bounds read in validate_protocol

First published: Tue Jan 24 2023(Updated: )

cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior 0.29.0.gfm.7, a crafted markdown document can trigger an out-of-bounds read in the `validate_protocol` function. We believe this bug is harmless in practice, because the out-of-bounds read accesses `malloc` metadata without causing any visible damage.This vulnerability has been patched in 0.29.0.gfm.7.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Github Cmark-gfm<0.29.0.gfm.7

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2023-22485?

    CVE-2023-22485 is a vulnerability in cmark-gfm, a CommonMark parsing and rendering library and program in C, that can trigger an out-of-bounds read in the `validate_protocol` function.

  • What is the severity of CVE-2023-22485?

    The severity of CVE-2023-22485 is medium with a CVSS score of 5.3.

  • How does CVE-2023-22485 impact GitHub's cmark-gfm?

    In versions prior to 0.29.0.gfm.7, a crafted markdown document can trigger the vulnerability in the `validate_protocol` function of GitHub's cmark-gfm.

  • Is the CVE-2023-22485 vulnerability harmful in practice?

    The CVE-2023-22485 vulnerability is believed to be harmless in practice.

  • How can I fix CVE-2023-22485?

    To fix CVE-2023-22485, it is recommended to update to version 0.29.0.gfm.7 or later of GitHub's cmark-gfm.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203