git-username@0.4.0 vulnerabilities

Get the username (or 'owner' name) from a git/GitHub remote origin URL.

Direct Vulnerabilities

Known vulnerabilities in the git-username package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • L
Regular Expression Denial of Service (ReDoS)

git-username is a package that gets the username from a git remote origin URL.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks. This can cause an impact of about 10 seconds matching time for data 43K characters long.

How to fix Regular Expression Denial of Service (ReDoS)?

Update git-username to version 0.5.1 or higher.

<0.5.1