Skip to content

Pg vulnerabilities hotfix of #3164 and #3166. - #3168

Open
drgrice1 wants to merge 2 commits into
openwebwork:mainfrom
drgrice1:pg-vulnerabilities-hotfix
Open

Pg vulnerabilities hotfix of #3164 and #3166.#3168
drgrice1 wants to merge 2 commits into
openwebwork:mainfrom
drgrice1:pg-vulnerabilities-hotfix

Conversation

@drgrice1

Copy link
Copy Markdown
Member

… with PG.

These are dangerous to share, and expose things to problems that should
not be exposed.
`HTML::Parser` was shared into the safe compartment, and its
`parse_file` method opens and reads whatever path it is given, bypassing
the permitted_read_dir restriction. Thus giving any PG problem arbitrary
file read. It is not actually used by PG, and so that is removed from
the modules that are shared. Note that the `HTML::Entities` package
which is part of the `HTML::Parser` package on CPAN is still shared and
is used.
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.

1 participant