Out-of-bounds Read Affecting orc/discount package, versions [,2.2.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.79% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-ORCDISCOUNT-2367459
  • published26 Jan 2022
  • disclosed15 Jun 2018
  • creditUnknown

Introduced: 15 Jun 2018

CVE-2018-12495  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade orc/discount to version 2.2.4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. The quoteblock function in markdown.c in libmarkdown.a in DISCOUNT 2.2.3a allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted file.

References

CVSS Base Scores

version 3.1