Skip to content

fix: disable raw/include in RST#8300

Merged
rjsparks merged 2 commits into
ietf-tools:mainfrom
jennifer-richards:lockdown-rst
Dec 5, 2024
Merged

fix: disable raw/include in RST#8300
rjsparks merged 2 commits into
ietf-tools:mainfrom
jennifer-richards:lockdown-rst

Conversation

@jennifer-richards

Copy link
Copy Markdown
Member

No description provided.

@kesara kesara left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Another recommendation in Deploying Docutils Securely, is to lower the line_length_limit 1. Default value is 10 000. Not sure that can cause any issues.

Footnotes

  1. https://docutils.sourceforge.io/docs/howto/security.html#cpu-and-memory-utilization

@rjsparks rjsparks merged commit f76137e into ietf-tools:main Dec 5, 2024
@jennifer-richards

Copy link
Copy Markdown
Member Author

Another recommendation in Deploying Docutils Securely, is to lower the line_length_limit 1. Default value is 10 000. Not sure that can cause any issues.

I don't have any idea what a more reasonable limit would be. Given the access controls guarding places we accept user input to the RST processor and the hopefully limited lifespan of supporting RST, I think we can leave it as it is.

@jennifer-richards jennifer-richards deleted the lockdown-rst branch December 5, 2024 14:31
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants