CVE-2018-11503
published 2018-05-26CVE-2018-11503: The isfootnote 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)…
PriorityP420medium5.5CVSS 3.0
AVLACLPRNUIRSUCNINAH
EPSS
1.60%
73.4th percentile
The isfootnote 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.
GHSA
GHSA-3g9x-rvrx-gr8q: The isfootnote function in markdown
ghsa_unreviewed·2022-05-13
CVE-2018-11503 [MEDIUM] CWE-125 GHSA-3g9x-rvrx-gr8q: The isfootnote function in markdown
The isfootnote 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-11503: The isfootnote function in markdown
osv·2018-05-26·CVSS 5.5
CVE-2018-11503 [MEDIUM] CVE-2018-11503: The isfootnote function in markdown
The isfootnote 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.
Red Hat
discount: Heap-based buffer-overflow in markdown.c:isfootnote() allows for denial of service
vendor_redhat·2018-05-26·CVSS 5.5
CVE-2018-11503 [MEDIUM] CWE-122 discount: Heap-based buffer-overflow in markdown.c:isfootnote() allows for denial of service
discount: Heap-based buffer-overflow in markdown.c:isfootnote() allows for denial of service
The isfootnote 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-11503: discount - The isfootnote function in markdown.c in libmarkdown.a in DISCOUNT 2.2.3a allows...
vendor_debian·2018·CVSS 5.5
CVE-2018-11503 [MEDIUM] CVE-2018-11503: discount - The isfootnote function in markdown.c in libmarkdown.a in DISCOUNT 2.2.3a allows...
The isfootnote 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)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-11503 discount: Heap-based buffer-overflow in markdown.c:isfootnote() allows for denial of service
bugzilla·2018-05-28·CVSS 5.5
CVE-2018-11503 [MEDIUM] CVE-2018-11503 discount: Heap-based buffer-overflow in markdown.c:isfootnote() allows for denial of service
CVE-2018-11503 discount: Heap-based buffer-overflow in markdown.c:isfootnote() allows for denial of service
DISCOUNT through version 2.2.3a is vulnerable to a Heap-based buffer-overflow in in the markdown.c:isfootnote() 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 1583002]
Affects: fedora-all [bug 1583003]
---
Reproduced on F27:
# rpm -q discount
discount-2.2.2-4.fc27.x86_64
sh-4.4# discount-mkd2html issue2_testcase
==73==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000000012 at pc 0x7f02f778fc42 bp 0x7ffc8afeb700 sp 0x7ffc8afeb6f0
READ of size 1 at 0x602000000012 thread T0
#0 0
Bugzilla
CVE-2018-11503 discount: Heap-based buffer-overflow in markdown.c:isfootnote() allows for denial of service [epel-7]
bugzilla·2018-05-28·CVSS 5.5
CVE-2018-11503 [MEDIUM] CVE-2018-11503 discount: Heap-based buffer-overflow in markdown.c:isfootnote() allows for denial of service [epel-7]
CVE-2018-11503 discount: Heap-based buffer-overflow in markdown.c:isfootnote() 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
Bugzilla
CVE-2018-11503 discount: Heap-based buffer-overflow in markdown.c:isfootnote() allows for denial of service [fedora-all]
bugzilla·2018-05-28·CVSS 5.5
CVE-2018-11503 [MEDIUM] CVE-2018-11503 discount: Heap-based buffer-overflow in markdown.c:isfootnote() allows for denial of service [fedora-all]
CVE-2018-11503 discount: Heap-based buffer-overflow in markdown.c:isfootnote() 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: thi
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