org.springframework.ai:spring-ai-commons@1.1.7

  • latest version

    2.0.2

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.springframework.ai:spring-ai-commons 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
    • H
    Denial of Service (DoS)

    Affected versions of this package are vulnerable to Denial of Service (DoS) via the trimAdjacentBlankLines and alignToLeft functions. An attacker can cause the processing thread to crash by submitting specially crafted documents that trigger excessive regex backtracking, leading to stack exhaustion. This can be exploited by repeatedly submitting such documents to degrade or deny service to all users, especially in environments with bounded worker pools. This is only exploitable if applications process documents from untrusted sources through TikaDocumentReader, PagePdfDocumentReader, or ParagraphPdfDocumentReader.

    How to fix Denial of Service (DoS)?

    Upgrade org.springframework.ai:spring-ai-commons to version 2.0.3 or higher.

    [1.0.0,2.0.3)