rich-rst is vulnerable to Path Traversal
75
CVE Score
High
Path Traversal
The .. raw:: and .. csv-table:: directives' :file: and :url: options, along with the docutils include directive, read the referenced file or fetch the referenced URL with no restriction and include the contents in the output. Rendering reStructuredText from an untrusted source discloses any file the rendering process can read or triggers outbound requests to URLs supplied in that markup. The fix disables these directives by default and confines re-enabled access to the source document's directory.
Upgrade the rich-rst library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you render reStructuredText markup from an untrusted source.
0.0.1 - 2.1.0
Fixed in 2.2.0rich-rst is vulnerable to Path Traversal in versions 0.0.1 - 2.1.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.