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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1499-1, DSA-4293-1
Debian Bugs901912

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
discount (PTS)jessie, jessie (lts)2.1.7-1+deb8u1fixed
stretch (security), stretch (lts), stretch2.2.2-1+deb9u1fixed
buster2.2.4-1fixed
bullseye2.2.6-1fixed
sid, trixie, bookworm2.2.7-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
discountsourcewheezy(unfixed)end-of-life
discountsourcejessie2.1.7-1+deb8u1DLA-1499-1
discountsourcestretch2.2.2-1+deb9u1DSA-4293-1
discountsource(unstable)2.2.4-1901912

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