CVE-2018-11504
published 2018-05-26CVE-2018-11504: The islist 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…
PriorityP419medium5.5CVSS 3.0
AVLACLPRNUIRSUCNINAH
EPSS
1.51%
72.0th percentile
The islist 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, as demonstrated by mkd2html.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | discount | < discount 2.2.4-1 (bookworm) | discount 2.2.4-1 (bookworm) |
| discount_project | discount | — | — |
| discount_project | discount | >= 0 < 2.2.4-1 | 2.2.4-1 |
| discount_project | discount | >= 0 < 2.2.4-1 | 2.2.4-1 |
| discount_project | discount | >= 0 < 2.2.4-1 | 2.2.4-1 |
| discount_project | discount | >= 0 < 2.2.4-1 | 2.2.4-1 |
CVSS provenance
nvdv3.05.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
discount: Heap-based buffer-overflow in markdown.c:islist() allows for denial of service
vendor_redhat·2018-05-26·CVSS 5.5
CVE-2018-11504 [MEDIUM] CWE-122 discount: Heap-based buffer-overflow in markdown.c:islist() allows for denial of service
discount: Heap-based buffer-overflow in markdown.c:islist() allows for denial of service
The islist 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, as demonstrated by mkd2html.
Package: discount (Red Hat Enterprise Linux 8) - Will not fix
Debian
CVE-2018-11504: discount - The islist function in markdown.c in libmarkdown.a in DISCOUNT 2.2.3a allows rem...
vendor_debian·2018·CVSS 5.5
CVE-2018-11504 [MEDIUM] CVE-2018-11504: discount - The islist function in markdown.c in libmarkdown.a in DISCOUNT 2.2.3a allows rem...
The islist 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, as demonstrated by mkd2html.
Scope: local
bookworm: resolved (fixed in 2.2.4-1)
bullseye: resolved (fixed in 2.2.4-1)
forky: resolved (fixed in 2.2.4-1)
sid: resolved (fixed in 2.2.4-1)
trixie: resolved (fixed in 2.2.4-1)
GHSA
GHSA-33rp-g78f-jw6r: The islist function in markdown
ghsa_unreviewed·2022-05-13
CVE-2018-11504 [MEDIUM] CWE-125 GHSA-33rp-g78f-jw6r: The islist function in markdown
The islist 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, as demonstrated by mkd2html.
OSV
CVE-2018-11504: The islist function in markdown
osv·2018-05-26·CVSS 5.5
CVE-2018-11504 [MEDIUM] CVE-2018-11504: The islist function in markdown
The islist 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, as demonstrated by mkd2html.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-11504 discount: Heap-based buffer-overflow in markdown.c:islist() allows for denial of service [epel-7]
bugzilla·2018-05-28·CVSS 5.5
CVE-2018-11504 [MEDIUM] CVE-2018-11504 discount: Heap-based buffer-overflow in markdown.c:islist() allows for denial of service [epel-7]
CVE-2018-11504 discount: Heap-based buffer-overflow in markdown.c:islist() allows for denial of service [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the
Bugzilla
CVE-2018-11504 discount: Heap-based buffer-overflow in markdown.c:islist() allows for denial of service
bugzilla·2018-05-28·CVSS 5.5
CVE-2018-11504 [MEDIUM] CVE-2018-11504 discount: Heap-based buffer-overflow in markdown.c:islist() allows for denial of service
CVE-2018-11504 discount: Heap-based buffer-overflow in markdown.c:islist() allows for denial of service
DISCOUNT through version 2.2.3a is vulnerable to a Heap-based buffer-overflow in in the markdown.c:islist() function. An attacker could exploit this to cause a denial of service.
Upstream issue:
https://github.com/Orc/discount/issues/189#issuecomment-392247798
Discussion:
Created discount tracking bugs for this issue:
Affects: epel-7 [bug 1583008]
Affects: fedora-all [bug 1583007]
---
Reproduced on F27:
sh-4.4# rpm -q discount
discount-2.2.2-4.fc27.x86_64
sh-4.4# discount-mkd2html issue3_testcase
==76==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000000031 at pc 0x7f1ad5e6c2ca bp 0x7ffc68bb1ed0 sp 0x7ffc68bb1ec0
READ of size 1 at 0x602000000031 thread T0
#0 0x7
Bugzilla
CVE-2018-11504 discount: Heap-based buffer-overflow in markdown.c:islist() allows for denial of service [fedora-all]
bugzilla·2018-05-28·CVSS 5.5
CVE-2018-11504 [MEDIUM] CVE-2018-11504 discount: Heap-based buffer-overflow in markdown.c:islist() allows for denial of service [fedora-all]
CVE-2018-11504 discount: Heap-based buffer-overflow in markdown.c:islist() allows for denial of service [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this is
https://github.com/Orc/discount/issues/189#issuecomment-392247798https://lists.debian.org/debian-lts-announce/2018/09/msg00009.htmlhttps://www.debian.org/security/2018/dsa-4293https://github.com/Orc/discount/issues/189#issuecomment-392247798https://lists.debian.org/debian-lts-announce/2018/09/msg00009.htmlhttps://www.debian.org/security/2018/dsa-4293
2018-05-26
Published