docling-core@2.100.0

A python library to define and validate data types in Docling.

  • latest version

    3.0.0

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    1 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the docling-core package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    External Control of File Name or Path

    docling-core is an A python library to define and validate data types in Docling.

    Affected versions of this package are vulnerable to External Control of File Name or Path via _with_embedded_pictures and ImageRef when exporting a DoclingDocument containing untrusted content. Plain filesystem paths and file:// URIs embedded in an untrusted document are read directly during export operations (such as save_as_* in EMBEDDED mode), bypassing the allow_image_file_uri gate and the size limit. An attacker who can supply a malicious DoclingDocument can cause the application to read arbitrary local files and expose their contents through the exported output.

    How to fix External Control of File Name or Path?

    Upgrade docling-core to version 2.103.0 or higher.

    [,2.103.0)