Skip to content
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

Add a check for the new JIT #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add a check for the new JIT #29

wants to merge 1 commit into from

Conversation

jvoisin
Copy link
Contributor

@jvoisin jvoisin commented Jul 23, 2020

See https://wiki.php.net/rfc/jit for reference

@bef
Copy link
Member

bef commented Aug 8, 2021

Can you elaborate on how JIT may affect the security? Are there any known vulnerabilities in connection with opcache.jit?

@jvoisin
Copy link
Contributor Author

jvoisin commented Aug 10, 2021

Same answer as in #21

PHP's JIT is allocating a RWX memory area, weakening "Executable space protection" and making it easier to exploit memory corruption without resorting to ROP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants