-
Notifications
You must be signed in to change notification settings - Fork 8k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: php/php-src
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: php-8.0.28
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: php/php-src
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: php-8.0.29
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 8 commits
- 8 files changed
- 6 contributors
Commits on Feb 14, 2023
-
1
Configuration menu - View commit details
-
Copy full SHA for e86d870 - Browse repository at this point
Copy the full SHA e86d870View commit details -
[ci skip] Next release will be 8.0.29
Gabriel Caruso committedFeb 14, 2023 Configuration menu - View commit details
-
Copy full SHA for 0e45ed7 - Browse repository at this point
Copy the full SHA 0e45ed7View commit details
Commits on Jun 6, 2023
-
Fix missing randomness check and insufficient random bytes for SOAP H…
…TTP Digest If php_random_bytes_throw fails, the nonce will be uninitialized, but still sent to the server. The client nonce is intended to protect against a malicious server. See section 5.10 and 5.12 of RFC 7616 [1], and bullet point 2 below. Tim pointed out that even though it's the MD5 of the nonce that gets sent, enumerating 31 bits is trivial. So we have still a stack information leak of 31 bits. Furthermore, Tim found the following issues: * The small size of cnonce might cause the server to erroneously reject a request due to a repeated (cnonce, nc) pair. As per the birthday problem 31 bits of randomness will return a duplication with 50% chance after less than 55000 requests and nc always starts counting at 1. * The cnonce is intended to protect the client and password against a malicious server that returns a constant server nonce where the server precomputed a rainbow table between passwords and correct client response. As storage is fairly cheap, a server could precompute the client responses for (a subset of) client nonces and still have a chance of reversing the client response with the same probability as the cnonce duplication. Precomputing the rainbow table for all 2^31 cnonces increases the rainbow table size by factor 2 billion, which is infeasible. But precomputing it for 2^14 cnonces only increases the table size by factor 16k and the server would still have a 10% chance of successfully reversing a password with a single client request. This patch fixes the issues by increasing the nonce size, and checking the return value of php_random_bytes_throw(). In the process we also get rid of the MD5 hashing of the nonce. [1] RFC 7616: https://www.rfc-editor.org/rfc/rfc7616 Co-authored-by: Tim Düsterhus <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ac4254a - Browse repository at this point
Copy the full SHA ac4254aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0572448 - Browse repository at this point
Copy the full SHA 0572448View commit details -
Configuration menu - View commit details
-
Copy full SHA for b720ab9 - Browse repository at this point
Copy the full SHA b720ab9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32c7c43 - Browse repository at this point
Copy the full SHA 32c7c43View commit details
Commits on Jun 7, 2023
-
Gabriel Caruso committed
Jun 7, 2023 1Configuration menu - View commit details
-
Copy full SHA for 794bceb - Browse repository at this point
Copy the full SHA 794bcebView commit details -
Update versions for PHP 8.0.29
Gabriel Caruso committedJun 7, 2023 Configuration menu - View commit details
-
Copy full SHA for 340c89f - Browse repository at this point
Copy the full SHA 340c89fView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff php-8.0.28...php-8.0.29