Denial of service in GitHub cmark-gfm



Published: 2022-09-20
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-39209
CWE-ID CWE-400
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
cmark-gfm
Universal components / Libraries / Software for developers

Vendor GitHub

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Resource exhaustion

EUVDB-ID: #VU67493

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-39209

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a polynomial time complexity issue in the autolink extension. A remote user can trigger resource exhaustion and perform a denial of service (DoS) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

cmark-gfm: 0.29.0.gfm.0 - 0.29.0.gfm.5

External links

http://github.com/github/cmark-gfm/security/advisories/GHSA-cgh3-p57x-9q7q
http://en.wikipedia.org/wiki/Time_complexity
http://github.com/github/cmark-gfm/commit/9d57d8a23142b316282bdfc954cb0ecda40a8655


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###