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

Stop metatables from being overwritten/read from #184

Merged
merged 2 commits into from
Nov 6, 2023

Conversation

RadiantUwU
Copy link
Contributor

Protect your metatables.

@RadiantUwU RadiantUwU changed the title Critical security vulnerability Stop metatables from being overwritten/read from Nov 5, 2023
@Trey2k
Copy link
Member

Trey2k commented Nov 5, 2023

While this is not a security vulnerability, as the meta table we use works off the context of the object it is provided. So swapping out meta methods from one object to another would have not practical difference. I see nothing wrong with locking out metatables like this.

@Trey2k Trey2k merged commit a7c659a into WeaselGames:main Nov 6, 2023
21 checks passed
@RadiantUwU RadiantUwU deleted the 2.x_SECURITY_VULNERABILITY branch November 7, 2023 14:29
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