OWASP / OWASP/ASVS

v5.0.0-6.2.1 password min length vs NIST SP 800-63B-4

Open
#3,242 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

V6 (prev V2)
Dominant language
HTML
Stars
3.6k
Forks
831
Avg merge
7h 55m
Merged PRs (30d)
4

Description

Current requirement:

# Description Level
6.2.1 Verify that user set passwords are at least 8 characters in length although a minimum of 15 characters is strongly recommended. 1

Previously discussed in:

  • #913
  • #1540

We made current requirement based on this version:

Verifiers and CSPs SHALL require passwords to be a minimum of eight characters in length and SHOULD require passwords to be a minimum of 15 characters in length.

Now NIST SP 800-63-4 is released and it defines it:

Verifiers and CSPs SHALL require passwords that are used as a single-factor authentication mechanism to be a minimum of 15 characters in length. Verifiers and CSPs MAY allow passwords that are only used as part of multi-factor authentication processes to be shorter but SHALL require them to be a minimum of eight characters in length.

So, to be aligned with NIST, we need to require:

  • min length 15 if multi-factor authentication is not used
  • min length 8 if multi-factor authentication is used

But there is no quick-and-easy fix here, as it could be a breaking change for v5.0.0.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with requirement 6.2.1 and review the prior discussions in #913 and #1540, then compare its wording with the released NIST SP 800-63-4 guidance. Done means resolving the breaking-change implications and updating the requirement to distinguish single-factor passwords from passwords used with multi-factor authentication.

Written by the indexing model from the issue text.

Assessment

Domain
authentication, security
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.