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

Loading globs is easily exploitable #212

Closed
perlpunk opened this issue Apr 27, 2019 · 2 comments · Fixed by #213
Closed

Loading globs is easily exploitable #212

perlpunk opened this issue Apr 27, 2019 · 2 comments · Fixed by #213

Comments

@perlpunk
Copy link
Collaborator

...so it should be only possible when $YAML::LoadCode is true.

I have a fix ready.

@perlpunk
Copy link
Collaborator Author

reopen until 1.28 is released

@perlpunk
Copy link
Collaborator Author

released 1.28

The following YAML resulted in $YAML::LoadCode set to 1:

--- !!perl/glob
PACKAGE: YAML
NAME: LoadCode
SCALAR: 1
EOM

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 a pull request may close this issue.

1 participant