Bug 2006009 (CVE-2021-3795) - CVE-2021-3795 semver-regex: inefficient regular expression complexity
Summary: CVE-2021-3795 semver-regex: inefficient regular expression complexity
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-3795
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1999601 2011980 2011981 2020102 2020305
Blocks: 2006010
TreeView+ depends on / blocked
 
Reported: 2021-09-20 16:50 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-12-09 01:04 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the semver-regex library where it could lead to consuming a big amount of resources when executing specific strings. Attackers could take advantage of this by crafting an invalid version causing a disruption or a denial of service (DoS).
Clone Of:
Environment:
Last Closed: 2021-12-09 01:04:33 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:5038 0 None None None 2021-12-09 00:47:18 UTC

Description Guilherme de Almeida Suckevicz 2021-09-20 16:50:13 UTC
semver-regex is vulnerable to Inefficient Regular Expression Complexity.

Reference:
https://huntr.dev/bounties/006624e3-35ac-448f-aab9-7b5183f30e28

Upstream patch:
https://github.com/sindresorhus/semver-regex/commit/11c66245f4e1976dccc52977ed183696a21a3fd7

Comment 4 errata-xmlrpc 2021-12-09 00:47:16 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 8
  Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 7

Via RHSA-2021:5038 https://access.redhat.com/errata/RHSA-2021:5038

Comment 5 Product Security DevOps Team 2021-12-09 01:04:31 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-3795


Note You need to log in before you can comment on or make changes to this bug.