-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
php: Fix CVE-2018-17082 (release-18.09) #50505
Conversation
@GrahamcOfBorg build php71 php72 |
Success on aarch64-linux (full log) Attempted: php71, php72 Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: tests.owncloud, tests.elk Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Attempted: php71, php72 Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: tests.owncloud, tests.elk Partial log (click to expand)
|
ae66a1b
to
6ac0fda
Compare
This is now a backport of #50511, with |
Success on x86_64-linux (full log) Attempted: php71, php72 Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: php Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: php Partial log (click to expand)
|
@GrahamcOfBorg build php71 php72 |
Success on aarch64-linux (full log) Attempted: php71, php72 Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: tests.owncloud, tests.elk Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: php71, php72 Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: php71, php72 Partial log (click to expand)
|
Failure on x86_64-linux (full log) Attempted: tests.owncloud, tests.elk Partial log (click to expand)
|
6ac0fda
to
5999dab
Compare
Also make Darwin align itself to Linux versions, due to CVE-2018-17082 forcing our hand on this. This means Darwin must compile without intl. Based on commit 283396658a69f5a4ed3d832bc849c53fa8e05ce1, with the change that here we refuse to build if the user doesn't manually disable intl. See [1] for the reasoning. [1] NixOS#50511 (comment)
5999dab
to
c36ade1
Compare
Success on aarch64-linux (full log) Attempted: php Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: php Partial log (click to expand)
|
This has been superseded by work on #51092 |
php: 7.2.10 -> 7.2.12, 7.1.22 -> 7.1.24
Also make Darwin align itself to Linux versions, due to CVE-2018-17082 forcing our hand on this. This means Darwin must compile without intl.
Based on commit 2833966, with the change that here we refuse to build if the user doesn't manually disable intl.
See [1] for the reasoning.
[1] #50511 (comment)
Motivation for this change
Things done
Tested with
echo '<?php echo "hi\na\n";' | ./result/bin/php
with bothphp71
andphp72
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)