org.springframework.cloud:spring-cloud-kubernetes-commons@5.0.1

  • latest version

    5.0.4

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.springframework.cloud:spring-cloud-kubernetes-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
    • C
    Arbitrary Code Injection

    Affected versions of this package are vulnerable to Arbitrary Code Injection in the parsing of ConfigMap and Secret entries ending in .yaml using a SnakeYAML Yaml instance without a SafeConstructor or type restrictions. An attacker can execute arbitrary code by supplying a crafted YAML payload if they have write access to a ConfigMap or Secret that the application reads. This is only exploitable if the application's classpath contains a SnakeYAML version earlier than 2.0.

    How to fix Arbitrary Code Injection?

    Upgrade org.springframework.cloud:spring-cloud-kubernetes-commons to version 5.0.5 or higher.

    [3.1.0,5.0.5)