Skip to content

[3.6] bpo-17239: Disable external entities in SAX parser (GH-9217)#9512

Merged
miss-islington merged 1 commit intopython:3.6from
tiran:backport-17b1d5d-3.6
Sep 24, 2018
Merged

[3.6] bpo-17239: Disable external entities in SAX parser (GH-9217)#9512
miss-islington merged 1 commit intopython:3.6from
tiran:backport-17b1d5d-3.6

Conversation

@tiran
Copy link
Member

@tiran tiran commented Sep 23, 2018

The SAX parser no longer processes general external entities by default
to increase security. Before, the parser created network connections
to fetch remote files or loaded local files from the file system for DTD
and entities.

Signed-off-by: Christian Heimes [email protected]

https://bugs.python.org/issue17239.
(cherry picked from commit 17b1d5d)

Co-authored-by: Christian Heimes [email protected]

https://bugs.python.org/issue17239

The SAX parser no longer processes general external entities by default
to increase security. Before, the parser created network connections
to fetch remote files or loaded local files from the file system for DTD
and entities.

Signed-off-by: Christian Heimes <[email protected]>

https://bugs.python.org/issue17239.
(cherry picked from commit 17b1d5d)

Co-authored-by: Christian Heimes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-security A security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants