org.freemarker:freemarker@2.3.27-incubating vulnerabilities

  • latest version

    2.3.34

  • latest non vulnerable version

  • first published

    18 years ago

  • latest version published

    11 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.freemarker:freemarker 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
    Server-side Template Injection (SSTI)

    org.freemarker:freemarker is a "template engine"; a generic tool to generate text output (anything from HTML to auto generated source code) based on templates.

    Affected versions of this package are vulnerable to Server-side Template Injection (SSTI). By allowing user input into java.security.ProtectionDomain.getClassLoader, templates will get access to the java classloader. This can be further leveraged for file system access and code execution. A low-privileged user is sufficient for exploitation of this vulnerability.

    How to fix Server-side Template Injection (SSTI)?

    Upgrade org.freemarker:freemarker to version 2.3.30 or higher.

    [,2.3.30)