ADVISORIES

Red Hat VEX

RHVEX-CVE-2022-24921

golang: regexp: stack exhaustion via a deeply nested expression

Moderate No fix available CVE-2022-24921

Details

A stack overflow flaw was found in Golang's regexp module, which can crash the runtime if the application using regexp accepts very long or arbitrarily long regexps from untrusted sources that have sufficient nesting depths. To exploit this vulnerability, an attacker would need to send large regexps with deep nesting to the application. Triggering this flaw leads to a crash of the runtime, which causes a denial of service.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:7golang
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7golang-bin
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7golang-docs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7golang-misc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7golang-src
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7golang-tests
All versions, no fix (out of support scope)

References