CVE Vulnerabilities

CVE-2018-20796

Uncontrolled Recursion

Published: Feb 26, 2019 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
5.3 MODERATE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Ubuntu
NEGLIGIBLE
root.io logo minimus.io logo echo.ai logo

In the GNU C Library (aka glibc or libc6) through 2.29, check_dst_limits_calc_pos_1 in posix/regexec.c has Uncontrolled Recursion, as demonstrated by (227|)(11|t1|2537)+ in grep.

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

NameVendorStart VersionEnd Version
GlibcGnu*2.29 (including)
EglibcUbuntuesm-infra-legacy/trusty*
EglibcUbuntuprecise/esm*
EglibcUbuntutrusty*
EglibcUbuntutrusty/esm*
GlibcUbuntubionic*
GlibcUbuntucosmic*
GlibcUbuntudevel*
GlibcUbuntudisco*
GlibcUbuntueoan*
GlibcUbuntuesm-infra/bionic*
GlibcUbuntuesm-infra/focal*
GlibcUbuntuesm-infra/xenial*
GlibcUbuntufocal*
GlibcUbuntuxenial*

Potential Mitigations

References