org.springframework.ai:spring-ai-openai@1.1.3

  • latest version

    1.1.6

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    17 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.springframework.ai:spring-ai-openai 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
    Missing Authorization

    org.springframework.ai:spring-ai-openai is an OpenAI models support

    Affected versions of this package are vulnerable to Missing Authorization via the default configuration of the Spring AI chat memory component. An attacker can access data from other users when DEFAULT_CONVERSATION_ID is not explicitly overridden, leading to unintended cross-user data exposure.

    Note: The upgrade fix for this vulnerability is a breaking change, due to the default conversationId behavior being removed. The recommendation is therefore to "ensure all ChatClient calls using memory advisors explicitly set the conversation identifier via .advisors(a -> a.param(ChatMemory.CONVERSATION_ID, id)) along with the upgrade.

    How to fix Missing Authorization?

    Upgrade org.springframework.ai:spring-ai-openai to version 1.0.7, 1.1.6 or higher.

    [,1.0.7)[1.1.0-M1,1.1.6)