CVE-2018-11468

NameCVE-2018-11468
DescriptionThe __mkd_trim_line function in mkdio.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, as demonstrated by mkd2html.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1499-1, DSA-4293-1
NVD severitymedium (attack range: remote)
Debian Bugs901912

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
discount (PTS)jessie2.1.7-1vulnerable
jessie (security)2.1.7-1+deb8u1fixed
stretch2.2.2-1vulnerable
stretch (security)2.2.2-1+deb9u1fixed
buster, sid2.2.4-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
discountsource(unstable)2.2.4-1medium901912
discountsourcejessie2.1.7-1+deb8u1mediumDLA-1499-1
discountsourcestretch2.2.2-1+deb9u1mediumDSA-4293-1

Notes

https://github.com/Orc/discount/issues/189
POC: https://github.com/fCorleone/fuzz_programs/blob/master/discount/issue1_testcase
Fixed by https://github.com/Orc/discount/commit/b002a5a4db31e42dfb45451c059bc56941c17974

Search for package or bug name: Reporting problems