Authentication Bypass Affecting http-auth package, versions <3.2.4



    Attack Complexity Low
    Confidentiality High
    Integrity High

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-HTTPAUTH-471683
  • published 3 Oct 2019
  • disclosed 13 Mar 2019
  • credit Dmitry Kochin

Introduced: 13 Mar 2019

CVE NOT AVAILABLE CWE-294 Open this link in a new tab

How to fix?

Upgrade http-auth to version 3.2.4 or higher.


http-auth is a package for HTTP basic and digest access authentication.

Affected versions of this package are vulnerable to Authentication Bypass. If a client specifies large nonceCount then this request can be replayed nonceCount - serverNonce[2] times.