Skip to content
Permalink

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.1.15
Choose a base ref
...
head repository: php/php-src
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: php-8.1.16
Choose a head ref
  • 10 commits
  • 17 files changed
  • 4 contributors

Commits on Feb 13, 2023

  1. Prepare for release 8.1.16

    ramsey committed Feb 13, 2023
    Configuration menu
    Copy the full SHA
    371a222 View commit details
    Browse the repository at this point in the history
  2. crypt: Fix validation of malformed BCrypt hashes

    PHP’s implementation of crypt_blowfish differs from the upstream Openwall
    version by adding a “PHP Hack”, which allows one to cut short the BCrypt salt
    by including a `$` character within the characters that represent the salt.
    
    Hashes that are affected by the “PHP Hack” may erroneously validate any
    password as valid when used with `password_verify` and when comparing the
    return value of `crypt()` against the input.
    
    The PHP Hack exists since the first version of PHP’s own crypt_blowfish
    implementation that was added in 1e820ec.
    
    No clear reason is given for the PHP Hack’s existence. This commit removes it,
    because BCrypt hashes containing a `$` character in their salt are not valid
    BCrypt hashes.
    TimWolla authored and ramsey committed Feb 13, 2023
    Configuration menu
    Copy the full SHA
    7882d12 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ef9294 View commit details
    Browse the repository at this point in the history
  4. Fix array overrun when appending slash to paths

    Fix it by extending the array sizes by one character. As the input is
    limited to the maximum path length, there will always be place to append
    the slash. As the php_check_specific_open_basedir() simply uses the
    strings to compare against each other, no new failures related to too
    long paths are introduced.
    We'll let the DOM and XML case handle a potentially too long path in the
    library code.
    nielsdos authored and ramsey committed Feb 13, 2023
    Configuration menu
    Copy the full SHA
    c0fceeb View commit details
    Browse the repository at this point in the history
  5. Update NEWS

    ramsey committed Feb 13, 2023
    Configuration menu
    Copy the full SHA
    f680864 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2023

  1. Configuration menu
    Copy the full SHA
    830bdb5 View commit details
    Browse the repository at this point in the history
  2. Introduce max_multipart_body_parts INI

    This fixes GHSA-54hq-v5wp-fqgv DOS vulnerabality by limitting number of
    parsed multipart body parts as currently all parts were always parsed.
    bukka committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    94fce68 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    76af0f9 View commit details
    Browse the repository at this point in the history
  4. Fix missing colon in NEWS

    bukka committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    b453c95 View commit details
    Browse the repository at this point in the history
  5. Update versions for PHP 8.1.16

    ramsey committed Feb 14, 2023
    Configuration menu
    Copy the full SHA
    aa5f9f0 View commit details
    Browse the repository at this point in the history
Loading