In PHP version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before
8.3.5, if a password stored with password_hash() starts with a null byte
(\x00), testing a blank string as the password via password_verify() will
incorrectly return true.
Author | Note |
---|---|
leosilva | version in noble is not affected see (LP: #2061147) |
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 14.04 | noarch | php5 | < any | UNKNOWN |
ubuntu | 16.04 | noarch | php7.0 | < 7.0.33-0ubuntu0.16.04.16+esm9) Available with Ubuntu Pro or Ubuntu Pro (Infra-only | UNKNOWN |
ubuntu | 18.04 | noarch | php7.2 | < 7.2.24-0ubuntu0.18.04.17+esm3) Available with Ubuntu Pro or Ubuntu Pro (Infra-only | UNKNOWN |
ubuntu | 20.04 | noarch | php7.4 | < 7.4.3-4ubuntu2.22 | UNKNOWN |
ubuntu | 22.04 | noarch | php8.1 | < 8.1.2-1ubuntu2.17 | UNKNOWN |
ubuntu | 23.10 | noarch | php8.2 | < 8.2.10-2ubuntu2.1 | UNKNOWN |
ubuntu | 24.04 | noarch | php8.3 | < 8.3.6-0maysync1 | UNKNOWN |