org.kohsuke.stapler:json-lib@2.1-rev5 vulnerabilities

  • latest version

    2.1-rev6

  • first published

    17 years ago

  • latest version published

    14 years ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.kohsuke.stapler:json-lib package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Uncontrolled Resource Consumption

    org.kohsuke.stapler:json-lib is a Java library for transforming beans, maps, collections, java arrays and XML to JSON.

    Affected versions of this package are vulnerable to Uncontrolled Resource Consumption due to the mishandling of unbalanced comment strings in JSONTokener.java. An attacker can execute arbitrary code or cause a denial of service by injecting malformed input that exploits this flaw.

    How to fix Uncontrolled Resource Consumption?

    Upgrade org.kohsuke.stapler:json-lib to version 2.4-jenkins-8 or higher.

    [,2.4-jenkins-8)